Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 110 kB / 16.42 MB, free: 6.512 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.002169/0.002169, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7286, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1986/0.9272, allocations: 177.1 MB / 1.262 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006979/0.9342, allocations: 4.397 MB / 1.266 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006752/0.9349, allocations: 31.81 kB / 1.266 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009068/0.9359, allocations: 369.8 kB / 1.266 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.9386, allocations: 1.303 MB / 1.268 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.9401, allocations: 0.6993 MB / 1.268 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.942, allocations: 1.621 MB / 1.27 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.9428, allocations: 0.533 MB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.9441, allocations: 0.7022 MB / 1.271 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.9452, allocations: 499.5 kB / 1.272 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.9454, allocations: 56 kB / 1.272 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.9475, allocations: 1.29 MB / 1.273 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.9478, allocations: 231.4 kB / 1.273 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.9482, allocations: 350.3 kB / 1.273 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.9499, allocations: 1.282 MB / 1.275 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9499, allocations: 4 kB / 1.275 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9499, allocations: 4 kB / 1.275 GB, free: 15.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.95, allocations: 3.938 kB / 1.275 GB, free: 15.18 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001485/0.9514, allocations: 0.993 MB / 1.276 GB, free: 14.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.9515, allocations: 8.031 kB / 1.276 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.9526, allocations: 179 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.9534, allocations: 0.5557 MB / 1.276 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.9535, allocations: 37 kB / 1.276 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.9536, allocations: 44 kB / 1.276 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.9544, allocations: 474.3 kB / 1.277 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9544, allocations: 0 / 1.277 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.9545, allocations: 16 kB / 1.277 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.9545, allocations: 13 kB / 1.277 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/0.9553, allocations: 415.7 kB / 1.277 GB, free: 12.37 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.958, allocations: 2.039 MB / 1.279 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.9585, allocations: 287.3 kB / 1.28 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.9588, allocations: 200.7 kB / 1.28 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.9591, allocations: 186.1 kB / 1.28 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.9591, allocations: 38.55 kB / 1.28 GB, free: 9.395 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.9591, allocations: 0 / 1.28 GB, free: 9.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001575/0.9607, allocations: 0.6443 MB / 1.281 GB, free: 8.723 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.9608, allocations: 55.34 kB / 1.281 GB, free: 8.656 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.9612, allocations: 446 kB / 1.281 GB, free: 8.207 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.9613, allocations: 33.7 kB / 1.281 GB, free: 8.168 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.9615, allocations: 280.2 kB / 1.281 GB, free: 7.891 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.9616, allocations: 102.5 kB / 1.281 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.9617, allocations: 69.69 kB / 1.282 GB, free: 7.715 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9619, allocations: 358.8 kB / 1.282 GB, free: 7.355 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.9621, allocations: 128.8 kB / 1.282 GB, free: 7.227 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.9625, allocations: 202.5 kB / 1.282 GB, free: 7.004 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.963, allocations: 333.5 kB / 1.282 GB, free: 6.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9631, allocations: 3.938 kB / 1.282 GB, free: 6.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000726/0.9638, allocations: 412.7 kB / 1.283 GB, free: 6.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9638, allocations: 7.938 kB / 1.283 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9638, allocations: 4 kB / 1.283 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.9638, allocations: 0 / 1.283 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.9642, allocations: 79.91 kB / 1.283 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.9642, allocations: 0 / 1.283 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.9647, allocations: 43.91 kB / 1.283 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.9647, allocations: 12 kB / 1.283 GB, free: 6.102 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004253/0.9651, allocations: 291.8 kB / 1.283 GB, free: 5.812 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003111/0.9655, allocations: 194.8 kB / 1.283 GB, free: 5.598 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005461/0.966, allocations: 329.2 kB / 1.284 GB, free: 5.258 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.966, allocations: 4 kB / 1.284 GB, free: 5.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006985/0.9667, allocations: 396.8 kB / 1.284 GB, free: 4.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.9668, allocations: 8 kB / 1.284 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9668, allocations: 3.938 kB / 1.284 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.9668, allocations: 7.938 kB / 1.284 GB, free: 4.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.9671, allocations: 63.91 kB / 1.284 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9671, allocations: 4 kB / 1.284 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.9676, allocations: 43.88 kB / 1.284 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.9676, allocations: 11.94 kB / 1.284 GB, free: 4.719 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.000134/0.9677, allocations: 204.1 kB / 1.285 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.9678, allocations: 51.38 kB / 1.285 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000833/0.9687, allocations: 415.1 kB / 1.285 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006935/0.9694, allocations: 438.5 kB / 1.285 GB, free: 3.586 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9694, allocations: 4 kB / 1.285 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.9696, allocations: 160.4 kB / 1.286 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.9697, allocations: 8 kB / 1.286 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.9701, allocations: 15.97 kB / 1.286 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.9702, allocations: 27.91 kB / 1.286 GB, free: 3.355 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.9712, allocations: 485.7 kB / 1.286 GB, free: 2.871 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009937/0.9722, allocations: 0.701 MB / 1.287 GB, free: 2.152 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002675/0.9725, allocations: 155.9 kB / 1.287 GB, free: 2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000332/0.9728, allocations: 310.9 kB / 1.287 GB, free: 1.699 MB / 1.014 GB Notification: Performance of Backend: time 4.21e-07/0.9728, allocations: 0 / 1.287 GB, free: 1.699 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.9746, allocations: 0.7161 MB / 1.288 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of SimCode: time 0.002397/0.977, allocations: 1.655 MB / 1.29 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Templates: time 0.02162/0.9986, allocations: 13.62 MB / 1.303 GB, free: 1.812 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches