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.001482/0.001483, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001439/0.001439, allocations: 189.6 kB / 16.25 MB, free: 6.648 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.7 MB / 0.7449 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 67.06 kB / 0.9116 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3555, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0533/0.4088, allocations: 49.37 MB / 1.116 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.4288, allocations: 12.59 MB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.432, allocations: 75.5 kB / 1.128 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.4347, allocations: 0.6486 MB / 1.129 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005558/0.4403, allocations: 1.707 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.4441, allocations: 1.221 MB / 1.132 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.449, allocations: 3.291 MB / 1.135 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.4512, allocations: 1.231 MB / 1.136 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.4554, allocations: 1.302 MB / 1.137 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4571, allocations: 0.9603 MB / 1.138 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.4574, allocations: 99.94 kB / 1.139 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.46, allocations: 1.068 MB / 1.14 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.4604, allocations: 302.8 kB / 1.14 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.4617, allocations: 0.6723 MB / 1.141 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.4654, allocations: 1.943 MB / 1.142 GB, free: 14 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4655, allocations: 0 / 1.142 GB, free: 14 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4655, allocations: 0 / 1.142 GB, free: 14 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.364e-05/0.4656, allocations: 0 / 1.142 GB, free: 14 MB / 0.9044 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.003374/0.4689, allocations: 1.697 MB / 1.144 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.469, allocations: 8.031 kB / 1.144 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.4699, allocations: 211.1 kB / 1.144 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.4724, allocations: 1.092 MB / 1.145 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.4728, allocations: 122.2 kB / 1.145 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4729, allocations: 84 kB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.475, allocations: 0.9884 MB / 1.147 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.475, allocations: 0 / 1.147 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.4751, allocations: 40 kB / 1.147 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.4752, allocations: 20 kB / 1.147 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.4768, allocations: 0.6594 MB / 1.147 GB, free: 8.91 MB / 0.9044 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.005755/0.4826, allocations: 4.414 MB / 1.152 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.4839, allocations: 420.5 kB / 1.152 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.4844, allocations: 220.7 kB / 1.152 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009347/0.4854, allocations: 1.148 MB / 1.153 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4854, allocations: 34.56 kB / 1.153 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.4854, allocations: 0 / 1.153 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.003131/0.4886, allocations: 1.097 MB / 1.154 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.4886, allocations: 63.28 kB / 1.154 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4899, allocations: 0.9279 MB / 1.155 GB, free: 15.97 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.49, allocations: 29.7 kB / 1.155 GB, free: 15.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.4905, allocations: 0.5812 MB / 1.156 GB, free: 15.35 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.4906, allocations: 106.5 kB / 1.156 GB, free: 15.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.4908, allocations: 102.1 kB / 1.156 GB, free: 15.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4909, allocations: 330 kB / 1.156 GB, free: 14.81 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.4915, allocations: 197 kB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.4922, allocations: 376.5 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.4935, allocations: 0.576 MB / 1.158 GB, free: 13.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4935, allocations: 0 / 1.158 GB, free: 13.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001874/0.4954, allocations: 0.7289 MB / 1.158 GB, free: 12.78 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4955, allocations: 11.94 kB / 1.158 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4955, allocations: 7.938 kB / 1.158 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007593/0.4962, allocations: 163 kB / 1.158 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.4969, allocations: 143.8 kB / 1.159 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.4982, allocations: 1.72 MB / 1.16 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.4991, allocations: 103.4 kB / 1.16 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.4992, allocations: 24 kB / 1.16 GB, free: 10.53 MB / 0.92 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.000495/0.4997, allocations: 270.1 kB / 1.161 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.5, allocations: 110.5 kB / 1.161 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.502, allocations: 0.7331 MB / 1.161 GB, free: 9.395 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.502, allocations: 15.92 kB / 1.161 GB, free: 9.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.502, allocations: 0 / 1.161 GB, free: 9.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.502, allocations: 4 kB / 1.161 GB, free: 9.375 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.5054, allocations: 1.648 MB / 1.163 GB, free: 7.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5054, allocations: 4 kB / 1.163 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.5059, allocations: 92.09 kB / 1.163 GB, free: 7.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006071/0.5066, allocations: 154.5 kB / 1.163 GB, free: 7.395 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.5066, allocations: 8 kB / 1.163 GB, free: 7.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.5077, allocations: 1.712 MB / 1.165 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5078, allocations: 4.031 kB / 1.165 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.5095, allocations: 0.7838 MB / 1.166 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.5099, allocations: 243.6 kB / 1.166 GB, free: 4.508 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5101, allocations: 11.98 kB / 1.166 GB, free: 4.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.5109, allocations: 71.92 kB / 1.166 GB, free: 4.426 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.511, allocations: 27.91 kB / 1.166 GB, free: 4.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.511, allocations: 23.98 kB / 1.166 GB, free: 4.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008864/0.5119, allocations: 0.6303 MB / 1.167 GB, free: 3.738 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5119, allocations: 4 kB / 1.167 GB, free: 3.734 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001079/0.513, allocations: 363.1 kB / 1.167 GB, free: 3.379 MB / 0.92 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.0008571/0.5139, allocations: 393.5 kB / 1.167 GB, free: 2.992 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.5156, allocations: 0.5633 MB / 1.168 GB, free: 2.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5157, allocations: 0 / 1.168 GB, free: 2.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008599/0.5165, allocations: 308 kB / 1.168 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.519, allocations: 0.5149 MB / 1.169 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5225, allocations: 2.264 MB / 1.171 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.5231, allocations: 1.103 MB / 1.172 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007269/0.5239, allocations: 190.8 kB / 1.172 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.5241, allocations: 63.44 kB / 1.172 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of SimCode: time 9.61e-07/0.5241, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.03526/0.5593, allocations: 19.82 MB / 1.192 GB, free: 10.37 MB / 0.9512 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches