Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009794/0.0009794, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9052/0.9052, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.335/2.335, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.209e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.006753/0.006775, allocations: 6.61 MB / 0.845 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.008816, allocations: 1.33 MB / 0.8463 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.009102, allocations: 15.88 kB / 0.8463 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.009454, allocations: 115 kB / 0.8465 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.009976, allocations: 258.4 kB / 0.8467 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.01063, allocations: 351.3 kB / 0.847 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.01137, allocations: 0.7333 MB / 0.8477 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.01173, allocations: 210.5 kB / 0.8479 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.0123, allocations: 378.8 kB / 0.8483 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.01253, allocations: 175.4 kB / 0.8485 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.01256, allocations: 20 kB / 0.8485 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.01277, allocations: 103.8 kB / 0.8486 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.01284, allocations: 79.69 kB / 0.8487 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.01292, allocations: 103.7 kB / 0.8488 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.01326, allocations: 283 kB / 0.849 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01327, allocations: 3.938 kB / 0.849 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.148e-06/0.01327, allocations: 0 / 0.849 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.01328, allocations: 0 / 0.849 GB, free: 3.484 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00054/0.01382, allocations: 479.5 kB / 0.8495 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.01385, allocations: 8.625 kB / 0.8495 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.01391, allocations: 44.89 kB / 0.8496 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.01419, allocations: 248.7 kB / 0.8498 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.0142, allocations: 16.88 kB / 0.8498 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.01423, allocations: 24.38 kB / 0.8498 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.01451, allocations: 249.7 kB / 0.8501 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.01452, allocations: 4.125 kB / 0.8501 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.01453, allocations: 12.12 kB / 0.8501 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01454, allocations: 4 kB / 0.8501 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.01461, allocations: 55.48 kB / 0.8501 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.01525, allocations: 0.5001 MB / 0.8506 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.01536, allocations: 134.7 kB / 0.8508 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.0154, allocations: 32.53 kB / 0.8508 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/0.01548, allocations: 15.98 kB / 0.8508 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.0155, allocations: 38.56 kB / 0.8508 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 2.545e-06/0.0155, allocations: 0 / 0.8508 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001874/0.01569, allocations: 85.59 kB / 0.8509 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.01573, allocations: 88.98 kB / 0.851 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.01586, allocations: 205.2 kB / 0.8512 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.01587, allocations: 25.7 kB / 0.8512 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.01595, allocations: 160.8 kB / 0.8514 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.01597, allocations: 39.64 kB / 0.8514 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.01601, allocations: 33.7 kB / 0.8514 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.0161, allocations: 334.8 kB / 0.8518 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.01613, allocations: 10.83 kB / 0.8518 GB, free: 496 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.01651, allocations: 224.2 kB / 0.852 GB, free: 212 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.01658, allocations: 79.52 kB / 0.8521 GB, free: 112 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01659, allocations: 0 / 0.8521 GB, free: 112 kB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001125/0.0167, allocations: 98.02 kB / 0.8522 GB, free: 4 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.01672, allocations: 8.047 kB / 0.8522 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01673, allocations: 0 / 0.8522 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01674, allocations: 0 / 0.8522 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01685, allocations: 43.86 kB / 0.8522 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01685, allocations: 7.938 kB / 0.8522 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.01691, allocations: 19.88 kB / 0.8522 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.01693, allocations: 8.094 kB / 0.8522 GB, free: 15.92 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.017, allocations: 120.7 kB / 0.8524 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.01704, allocations: 15.98 kB / 0.8524 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.01719, allocations: 114.9 kB / 0.8525 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.0172, allocations: 0 / 0.8525 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.0172, allocations: 8.312 kB / 0.8525 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0172, allocations: 0 / 0.8525 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.0176, allocations: 496.9 kB / 0.853 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.01761, allocations: 12.19 kB / 0.853 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.01769, allocations: 39.91 kB / 0.853 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01769, allocations: 0 / 0.853 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01771, allocations: 19.86 kB / 0.853 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01771, allocations: 0 / 0.853 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01771, allocations: 4 kB / 0.853 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01791, allocations: 400 kB / 0.8534 GB, free: 14.63 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.01795, allocations: 35.78 kB / 0.8535 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.01796, allocations: 7.938 kB / 0.8535 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.01805, allocations: 12 kB / 0.8535 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.01809, allocations: 19.97 kB / 0.8535 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.0181, allocations: 4 kB / 0.8535 GB, free: 14.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.01815, allocations: 66.78 kB / 0.8536 GB, free: 14.48 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.01815, allocations: 0 / 0.8536 GB, free: 14.48 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002495/0.0184, allocations: 71.83 kB / 0.8536 GB, free: 14.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.0186, allocations: 132.3 kB / 0.8538 GB, free: 14.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01873, allocations: 64.7 kB / 0.8538 GB, free: 14.21 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01873, allocations: 4 kB / 0.8538 GB, free: 14.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.01879, allocations: 48.72 kB / 0.8539 GB, free: 14.15 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.01911, allocations: 77.52 kB / 0.8539 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.01987, allocations: 496.5 kB / 0.8544 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.01993, allocations: 91.95 kB / 0.8545 GB, free: 13.44 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.348e-05/0.02, allocations: 21.42 kB / 0.8545 GB, free: 13.42 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.02016, allocations: 117.3 kB / 0.8546 GB, free: 13.3 MB / 0.823 GB Notification: Performance of SimCode: time 4.81e-07/0.02016, allocations: 0 / 0.8546 GB, free: 13.3 MB / 0.823 GB Notification: Performance of Templates: time 0.00656/0.02672, allocations: 4.063 MB / 0.8586 GB, free: 9.328 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.311884391587228]