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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008886, allocations: 91.45 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005675/0.005675, allocations: 170 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.114/3.114, allocations: 483.2 MB / 0.7564 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.000453, allocations: 12.5 kB / 0.9276 GB, free: 29.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4313, allocations: 164.5 MB / 1.088 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01735/0.4487, allocations: 14.23 MB / 1.102 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005604/0.4543, allocations: 3.685 MB / 1.106 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.4548, allocations: 15.94 kB / 1.106 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.4553, allocations: 131.1 kB / 1.106 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.4564, allocations: 370.3 kB / 1.106 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.4573, allocations: 290.8 kB / 1.107 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4587, allocations: 1.053 MB / 1.108 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.4591, allocations: 243.5 kB / 1.108 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.4601, allocations: 414.1 kB / 1.108 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.4605, allocations: 211 kB / 1.108 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.4605, allocations: 16 kB / 1.108 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.461, allocations: 207.5 kB / 1.109 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.4611, allocations: 59.75 kB / 1.109 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4613, allocations: 149 kB / 1.109 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.4619, allocations: 414.6 kB / 1.109 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4619, allocations: 0 / 1.109 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4619, allocations: 0 / 1.109 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4619, allocations: 4 kB / 1.109 GB, free: 4.836 MB / 0.8575 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.0009815/0.4629, allocations: 0.5573 MB / 1.11 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.463, allocations: 11.97 kB / 1.11 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.463, allocations: 36.56 kB / 1.11 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.4635, allocations: 307.1 kB / 1.11 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.4635, allocations: 20.75 kB / 1.11 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.4636, allocations: 28.36 kB / 1.11 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.4642, allocations: 265.5 kB / 1.11 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4642, allocations: 0 / 1.11 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.4642, allocations: 8 kB / 1.11 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4643, allocations: 12 kB / 1.11 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.4648, allocations: 200.5 kB / 1.111 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4662, allocations: 0.8392 MB / 1.111 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.4666, allocations: 157.1 kB / 1.112 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.4669, allocations: 109.5 kB / 1.112 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005193/0.4674, allocations: 498.6 kB / 1.112 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4674, allocations: 34.56 kB / 1.112 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.4674, allocations: 0 / 1.112 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0008575/0.4683, allocations: 297.2 kB / 1.112 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.4684, allocations: 77.11 kB / 1.113 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.4687, allocations: 267 kB / 1.113 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4687, allocations: 29.7 kB / 1.113 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4689, allocations: 164.4 kB / 1.113 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.4689, allocations: 43.44 kB / 1.113 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.469, allocations: 21.7 kB / 1.113 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4692, allocations: 334.8 kB / 1.113 GB, free: 216 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4694, allocations: 67.94 kB / 1.113 GB, free: 148 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.4697, allocations: 133.9 kB / 1.114 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.4702, allocations: 200.1 kB / 1.114 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4702, allocations: 0 / 1.114 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005816/0.4708, allocations: 241.1 kB / 1.114 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4708, allocations: 4 kB / 1.114 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4708, allocations: 0 / 1.114 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4709, allocations: 7.938 kB / 1.114 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.4712, allocations: 68.03 kB / 1.114 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4712, allocations: 4.25 kB / 1.114 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4714, allocations: 39.81 kB / 1.114 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.4715, allocations: 12 kB / 1.114 GB, free: 15.41 MB / 0.8731 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 0.0001639/0.4716, allocations: 146.3 kB / 1.114 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.4717, allocations: 27.66 kB / 1.114 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.472, allocations: 182.3 kB / 1.114 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4721, allocations: 0 / 1.114 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4721, allocations: 0 / 1.114 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4721, allocations: 4 kB / 1.114 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/0.4729, allocations: 0.6067 MB / 1.115 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.473, allocations: 0 / 1.115 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.4733, allocations: 64.08 kB / 1.115 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4733, allocations: 4 kB / 1.115 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4733, allocations: 4.438 kB / 1.115 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.4733, allocations: 8.062 kB / 1.115 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4733, allocations: 11.88 kB / 1.115 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.474, allocations: 459.4 kB / 1.116 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4742, allocations: 120.7 kB / 1.116 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.4742, allocations: 4 kB / 1.116 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.4745, allocations: 35.91 kB / 1.116 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.4745, allocations: 19.86 kB / 1.116 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4746, allocations: 12 kB / 1.116 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002102/0.4748, allocations: 193.9 kB / 1.116 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4748, allocations: 0 / 1.116 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004657/0.4753, allocations: 87.84 kB / 1.116 GB, free: 13.32 MB / 0.8731 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.0005077/0.4758, allocations: 201.1 kB / 1.116 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.4764, allocations: 197.8 kB / 1.116 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4764, allocations: 192 / 1.116 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.4767, allocations: 115.9 kB / 1.116 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.4776, allocations: 109 kB / 1.117 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4787, allocations: 0.6336 MB / 1.117 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.4794, allocations: 0.7755 MB / 1.118 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.4796, allocations: 58.27 kB / 1.118 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.4797, allocations: 27.38 kB / 1.118 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.4797, allocations: 0 / 1.118 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.01276/0.4925, allocations: 4.899 MB / 1.123 GB, free: 6.312 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches