Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 109.6 kB / 16.41 MB, free: 6.457 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.001799/0.001799, allocations: 189.6 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.84 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.6642, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1727/0.8369, allocations: 187.1 MB / 1.391 GB, free: 1.832 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.8509, allocations: 13.03 MB / 1.404 GB, free: 4.77 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000849/0.8518, allocations: 31.81 kB / 1.404 GB, free: 4.738 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.853, allocations: 413.3 kB / 1.404 GB, free: 4.332 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.855, allocations: 0.9174 MB / 1.405 GB, free: 3.41 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.8566, allocations: 0.7074 MB / 1.406 GB, free: 2.707 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.8581, allocations: 1.512 MB / 1.407 GB, free: 1.191 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007767/0.8589, allocations: 0.6564 MB / 1.408 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.862, allocations: 1.732 MB / 1.409 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.8631, allocations: 0.4946 MB / 1.41 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.8632, allocations: 59.94 kB / 1.41 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.8646, allocations: 0.8652 MB / 1.411 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.8649, allocations: 283.2 kB / 1.411 GB, free: 13.09 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.8652, allocations: 386 kB / 1.412 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.8666, allocations: 1.176 MB / 1.413 GB, free: 11.53 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8666, allocations: 0 / 1.413 GB, free: 11.53 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8666, allocations: 0 / 1.413 GB, free: 11.53 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.8666, allocations: 0 / 1.413 GB, free: 11.53 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001308/0.8679, allocations: 1.048 MB / 1.414 GB, free: 10.43 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.868, allocations: 8.031 kB / 1.414 GB, free: 10.42 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008942/0.8689, allocations: 194.8 kB / 1.414 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.8696, allocations: 0.5558 MB / 1.414 GB, free: 9.633 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.8697, allocations: 45.31 kB / 1.414 GB, free: 9.59 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.8698, allocations: 56 kB / 1.415 GB, free: 9.535 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.8708, allocations: 0.7789 MB / 1.415 GB, free: 8.645 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.8709, allocations: 7.938 kB / 1.415 GB, free: 8.637 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.8709, allocations: 31.94 kB / 1.415 GB, free: 8.605 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.871, allocations: 24.98 kB / 1.415 GB, free: 8.582 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.8718, allocations: 459.3 kB / 1.416 GB, free: 8.129 MB / 1.139 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.003349/0.8752, allocations: 4.371 MB / 1.42 GB, free: 3.527 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.8753, allocations: 102.3 kB / 1.42 GB, free: 3.391 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.8754, allocations: 83.56 kB / 1.42 GB, free: 3.297 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.8756, allocations: 93.11 kB / 1.42 GB, free: 3.188 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.8756, allocations: 38.55 kB / 1.42 GB, free: 3.141 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 3.868e-06/0.8756, allocations: 0 / 1.42 GB, free: 3.141 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0006004/0.8762, allocations: 240.5 kB / 1.421 GB, free: 2.898 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.8763, allocations: 136.8 kB / 1.421 GB, free: 2.734 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.8773, allocations: 0.833 MB / 1.422 GB, free: 1.891 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.8773, allocations: 33.64 kB / 1.422 GB, free: 1.852 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.8776, allocations: 406.8 kB / 1.422 GB, free: 1.449 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.8776, allocations: 39.52 kB / 1.422 GB, free: 1.41 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.8777, allocations: 97.89 kB / 1.422 GB, free: 1.309 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.8778, allocations: 325.9 kB / 1.422 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.8781, allocations: 108.7 kB / 1.422 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.8785, allocations: 362 kB / 1.423 GB, free: 420 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.8791, allocations: 433.5 kB / 1.423 GB, free: 15.88 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8791, allocations: 4 kB / 1.423 GB, free: 15.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008612/0.8799, allocations: 0.4969 MB / 1.424 GB, free: 15.37 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.88, allocations: 8 kB / 1.424 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.88, allocations: 12.03 kB / 1.424 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.88, allocations: 11.94 kB / 1.424 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.8803, allocations: 95.77 kB / 1.424 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.8803, allocations: 19.92 kB / 1.424 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.8809, allocations: 118.9 kB / 1.424 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.881, allocations: 24 kB / 1.424 GB, free: 15.09 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002249/0.8812, allocations: 233.5 kB / 1.424 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.8814, allocations: 71.16 kB / 1.424 GB, free: 14.78 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.7e-05/0.8815, allocations: 74.17 kB / 1.424 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8815, allocations: 0 / 1.424 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8815, allocations: 0 / 1.424 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.8817, allocations: 172.6 kB / 1.425 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.8818, allocations: 12.05 kB / 1.425 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.8822, allocations: 19.98 kB / 1.425 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.8822, allocations: 4 kB / 1.425 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000269/0.8825, allocations: 430.6 kB / 1.425 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003237/0.8828, allocations: 0.5622 MB / 1.426 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.313e-05/0.8829, allocations: 35.97 kB / 1.426 GB, free: 13.43 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007373/0.8837, allocations: 0.5889 MB / 1.426 GB, free: 12.85 MB / 1.154 GB Notification: Performance of Backend: time 4.41e-07/0.8837, allocations: 0 / 1.426 GB, free: 12.85 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.8852, allocations: 490.9 kB / 1.427 GB, free: 12.38 MB / 1.154 GB Notification: Performance of SimCode: time 0.002618/0.8878, allocations: 1.808 MB / 1.428 GB, free: 10.53 MB / 1.154 GB Notification: Performance of Templates: time 0.02152/0.9094, allocations: 13.84 MB / 1.442 GB, free: 12.89 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches