Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001458/0.001459, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 482.4 MB / 0.755 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 64 kB / 0.924 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7475, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06174/0.8093, allocations: 49.48 MB / 1.131 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.8297, allocations: 12.6 MB / 1.143 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.833, allocations: 73.88 kB / 1.143 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.8352, allocations: 0.6457 MB / 1.144 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005486/0.8407, allocations: 1.707 MB / 1.145 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.8444, allocations: 1.208 MB / 1.147 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0047/0.8491, allocations: 3.281 MB / 1.15 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.8508, allocations: 1.234 MB / 1.151 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.855, allocations: 1.463 MB / 1.152 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.8564, allocations: 0.9482 MB / 1.153 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.8566, allocations: 100.5 kB / 1.153 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.8589, allocations: 1.07 MB / 1.154 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.8592, allocations: 295 kB / 1.155 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007665/0.86, allocations: 0.6698 MB / 1.155 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.862, allocations: 1.474 MB / 1.157 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.862, allocations: 0.9375 kB / 1.157 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.862, allocations: 0 / 1.157 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.862, allocations: 0 / 1.157 GB, free: 12.15 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002664/0.8647, allocations: 1.708 MB / 1.159 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.8647, allocations: 9.406 kB / 1.159 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.8654, allocations: 206.6 kB / 1.159 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.8673, allocations: 1.08 MB / 1.16 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.8677, allocations: 126.4 kB / 1.16 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8678, allocations: 83.34 kB / 1.16 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.8696, allocations: 0.9857 MB / 1.161 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.8696, allocations: 5.062 kB / 1.161 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.8697, allocations: 34.56 kB / 1.161 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.8698, allocations: 21.31 kB / 1.161 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.8713, allocations: 0.6548 MB / 1.162 GB, free: 8.805 MB / 0.8887 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.005383/0.8767, allocations: 4.422 MB / 1.166 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.8779, allocations: 417.7 kB / 1.166 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.8785, allocations: 220.2 kB / 1.167 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.8795, allocations: 1.152 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.8795, allocations: 45.09 kB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.8795, allocations: 0 / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of matching and sorting (n=29): time 0.002975/0.8825, allocations: 1.089 MB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.8826, allocations: 58.66 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.8837, allocations: 0.9397 MB / 1.17 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.8838, allocations: 31.98 kB / 1.17 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.8842, allocations: 0.5753 MB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.8844, allocations: 112 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.8845, allocations: 106.1 kB / 1.171 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8847, allocations: 322.3 kB / 1.171 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.8852, allocations: 199 kB / 1.171 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.886, allocations: 392.3 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.8872, allocations: 0.5628 MB / 1.172 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8873, allocations: 6.312 kB / 1.172 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00168/0.8889, allocations: 0.7264 MB / 1.173 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.889, allocations: 9.656 kB / 1.173 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.889, allocations: 6.344 kB / 1.173 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/0.8897, allocations: 160.6 kB / 1.173 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005919/0.8903, allocations: 136.7 kB / 1.173 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.8916, allocations: 1.719 MB / 1.175 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.8924, allocations: 105.3 kB / 1.175 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.8925, allocations: 30.11 kB / 1.175 GB, free: 13.72 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004372/0.8929, allocations: 271.4 kB / 1.175 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.8931, allocations: 114.4 kB / 1.175 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.895, allocations: 0.7326 MB / 1.176 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.895, allocations: 8.562 kB / 1.176 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.895, allocations: 0 / 1.176 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.895, allocations: 3.984 kB / 1.176 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.8981, allocations: 1.64 MB / 1.178 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8981, allocations: 2.312 kB / 1.178 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.8986, allocations: 94.8 kB / 1.178 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005814/0.8992, allocations: 158.5 kB / 1.178 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.8992, allocations: 16.53 kB / 1.178 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.9005, allocations: 1.706 MB / 1.179 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9005, allocations: 2.094 kB / 1.179 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.9022, allocations: 0.7898 MB / 1.18 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.9026, allocations: 247.6 kB / 1.18 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.9028, allocations: 8 kB / 1.18 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.9034, allocations: 71.92 kB / 1.181 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.9035, allocations: 31.89 kB / 1.181 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.9035, allocations: 23.98 kB / 1.181 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008483/0.9044, allocations: 0.6264 MB / 1.181 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9044, allocations: 4 kB / 1.181 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001103/0.9055, allocations: 355.1 kB / 1.182 GB, free: 8.133 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008211/0.9063, allocations: 384.6 kB / 1.182 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.908, allocations: 0.5749 MB / 1.182 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.908, allocations: 0 / 1.182 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008264/0.9088, allocations: 300.7 kB / 1.183 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.9111, allocations: 0.5298 MB / 1.183 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.9144, allocations: 2.299 MB / 1.186 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.9152, allocations: 1.095 MB / 1.187 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.9153, allocations: 71.42 kB / 1.187 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.9154, allocations: 0 / 1.187 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of Templates: time 0.03768/0.953, allocations: 31.64 MB / 1.218 GB, free: 3.305 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches