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.001776/0.001776, allocations: 99.66 kB / 18.94 MB, free: 2.832 MB / 14.72 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.002249/0.002249, allocations: 219.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.606/3.606, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 63.84 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4139, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01951/0.4334, allocations: 13.85 MB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005433/0.4389, allocations: 3.504 MB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.4392, allocations: 23.81 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.4398, allocations: 170.7 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4408, allocations: 418 kB / 1.381 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.4417, allocations: 347.8 kB / 1.382 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009589/0.4427, allocations: 0.7725 MB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.4431, allocations: 220.6 kB / 1.383 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.4441, allocations: 486 kB / 1.383 GB, free: 9.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.4444, allocations: 218.9 kB / 1.383 GB, free: 9.555 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.4444, allocations: 24 kB / 1.383 GB, free: 9.531 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.4449, allocations: 187.6 kB / 1.384 GB, free: 9.348 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.445, allocations: 75.75 kB / 1.384 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.4451, allocations: 119.4 kB / 1.384 GB, free: 9.156 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.4457, allocations: 430.4 kB / 1.384 GB, free: 8.734 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4457, allocations: 0 / 1.384 GB, free: 8.734 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4457, allocations: 0 / 1.384 GB, free: 8.734 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4457, allocations: 0 / 1.384 GB, free: 8.734 MB / 1.076 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.0009072/0.4466, allocations: 0.5361 MB / 1.385 GB, free: 8.168 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4467, allocations: 12.03 kB / 1.385 GB, free: 8.156 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.4468, allocations: 36.75 kB / 1.385 GB, free: 8.121 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.4473, allocations: 257.4 kB / 1.385 GB, free: 7.844 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.4473, allocations: 20.81 kB / 1.385 GB, free: 7.824 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.4474, allocations: 20.38 kB / 1.385 GB, free: 7.805 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.448, allocations: 312.9 kB / 1.385 GB, free: 7.473 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.448, allocations: 0 / 1.385 GB, free: 7.473 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.448, allocations: 11.98 kB / 1.385 GB, free: 7.461 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.448, allocations: 15.88 kB / 1.385 GB, free: 7.445 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.4485, allocations: 180.4 kB / 1.385 GB, free: 7.27 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.4497, allocations: 0.6504 MB / 1.386 GB, free: 6.586 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.45, allocations: 133.2 kB / 1.386 GB, free: 6.438 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.4502, allocations: 81.66 kB / 1.386 GB, free: 6.352 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.4504, allocations: 47.91 kB / 1.386 GB, free: 6.305 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.4505, allocations: 42.48 kB / 1.386 GB, free: 6.254 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.4505, allocations: 4 kB / 1.386 GB, free: 6.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0007849/0.4512, allocations: 253.5 kB / 1.387 GB, free: 5.996 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4513, allocations: 81.09 kB / 1.387 GB, free: 5.898 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.4515, allocations: 217.1 kB / 1.387 GB, free: 5.676 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4515, allocations: 29.7 kB / 1.387 GB, free: 5.641 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4517, allocations: 172.3 kB / 1.387 GB, free: 5.469 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.4517, allocations: 43.64 kB / 1.387 GB, free: 5.426 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.4518, allocations: 33.7 kB / 1.387 GB, free: 5.387 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4519, allocations: 330.8 kB / 1.388 GB, free: 5.055 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.4521, allocations: 63.94 kB / 1.388 GB, free: 4.992 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.4525, allocations: 276.2 kB / 1.388 GB, free: 4.664 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.4529, allocations: 172.1 kB / 1.388 GB, free: 4.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4529, allocations: 0 / 1.388 GB, free: 4.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005016/0.4534, allocations: 209.2 kB / 1.388 GB, free: 4.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4534, allocations: 4 kB / 1.388 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4534, allocations: 4 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4535, allocations: 0 / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.4537, allocations: 59.97 kB / 1.388 GB, free: 4.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4537, allocations: 4 kB / 1.388 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.4539, allocations: 24.25 kB / 1.388 GB, free: 4.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4539, allocations: 11.98 kB / 1.388 GB, free: 4.164 MB / 1.076 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.0001573/0.4541, allocations: 141.8 kB / 1.388 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.4542, allocations: 23.84 kB / 1.388 GB, free: 3.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.4545, allocations: 194 kB / 1.389 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4545, allocations: 8 kB / 1.389 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4545, allocations: 0 / 1.389 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4545, allocations: 0 / 1.389 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.4553, allocations: 0.5206 MB / 1.389 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4553, allocations: 3.938 kB / 1.389 GB, free: 3.215 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.4556, allocations: 52.16 kB / 1.389 GB, free: 3.164 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4556, allocations: 7.938 kB / 1.389 GB, free: 3.156 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4556, allocations: 8 kB / 1.389 GB, free: 3.148 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4556, allocations: 0 / 1.389 GB, free: 3.148 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4556, allocations: 4 kB / 1.389 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.4562, allocations: 440.5 kB / 1.39 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.4563, allocations: 43.81 kB / 1.39 GB, free: 2.645 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.4564, allocations: 11.98 kB / 1.39 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4566, allocations: 15.98 kB / 1.39 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.4566, allocations: 23.91 kB / 1.39 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4567, allocations: 4 kB / 1.39 GB, free: 2.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001483/0.4568, allocations: 160.4 kB / 1.39 GB, free: 2.434 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4568, allocations: 0 / 1.39 GB, free: 2.434 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004413/0.4572, allocations: 95.72 kB / 1.39 GB, free: 2.34 MB / 1.076 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.0003371/0.4576, allocations: 183 kB / 1.39 GB, free: 2.152 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.4581, allocations: 171.8 kB / 1.39 GB, free: 1.984 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4581, allocations: 4 kB / 1.39 GB, free: 1.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.4584, allocations: 104 kB / 1.39 GB, free: 1.879 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.4591, allocations: 97.2 kB / 1.391 GB, free: 1.785 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.46, allocations: 0.5208 MB / 1.391 GB, free: 1.219 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.4602, allocations: 170.8 kB / 1.391 GB, free: 1.035 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.4603, allocations: 49.67 kB / 1.391 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.4604, allocations: 19.44 kB / 1.391 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.4604, allocations: 0 / 1.391 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of Templates: time 0.01047/0.4709, allocations: 4.911 MB / 1.396 GB, free: 12.15 MB / 1.092 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.815288547426462]