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 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.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.001751/0.001751, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 68.92 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05042/0.3886, allocations: 49.47 MB / 1.101 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.4088, allocations: 12.71 MB / 1.113 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.4125, allocations: 71.56 kB / 1.114 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.4152, allocations: 0.6291 MB / 1.114 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.4212, allocations: 1.691 MB / 1.116 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.4251, allocations: 1.209 MB / 1.117 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006788/0.4319, allocations: 4.368 MB / 1.121 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.4342, allocations: 1.074 MB / 1.122 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.4374, allocations: 1.124 MB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.4393, allocations: 0.9524 MB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.4395, allocations: 60 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.4425, allocations: 1.056 MB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.4428, allocations: 254.8 kB / 1.126 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000888/0.4437, allocations: 0.641 MB / 1.126 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.4457, allocations: 1.446 MB / 1.128 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4457, allocations: 3.984 kB / 1.128 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4458, allocations: 4 kB / 1.128 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.4458, allocations: 0 / 1.128 GB, free: 11.27 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.002658/0.4484, allocations: 1.691 MB / 1.129 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4485, allocations: 15.97 kB / 1.129 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/0.4491, allocations: 207.1 kB / 1.13 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.451, allocations: 1.092 MB / 1.131 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.4514, allocations: 130.2 kB / 1.131 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4515, allocations: 80 kB / 1.131 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4532, allocations: 0.9845 MB / 1.132 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.4533, allocations: 7.938 kB / 1.132 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.4534, allocations: 36 kB / 1.132 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.4534, allocations: 20 kB / 1.132 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.4548, allocations: 0.6556 MB / 1.132 GB, free: 6.184 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.005273/0.4601, allocations: 4.41 MB / 1.137 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4614, allocations: 418.5 kB / 1.137 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.4619, allocations: 228.6 kB / 1.137 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000992/0.4629, allocations: 1.144 MB / 1.139 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.463, allocations: 38.56 kB / 1.139 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.435e-06/0.463, allocations: 0 / 1.139 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002952/0.4659, allocations: 1.085 MB / 1.14 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.466, allocations: 63.33 kB / 1.14 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.4672, allocations: 0.9318 MB / 1.141 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.4672, allocations: 37.64 kB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.4677, allocations: 0.5812 MB / 1.141 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4678, allocations: 102.5 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.468, allocations: 110.1 kB / 1.141 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4681, allocations: 325.9 kB / 1.142 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.4686, allocations: 197 kB / 1.142 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.4693, allocations: 382.8 kB / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.4705, allocations: 0.5683 MB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.4705, allocations: 4 kB / 1.143 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001663/0.4722, allocations: 0.7364 MB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4722, allocations: 9.406 kB / 1.144 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4722, allocations: 8 kB / 1.144 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.4729, allocations: 155.2 kB / 1.144 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.4736, allocations: 151.7 kB / 1.144 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.4747, allocations: 1.712 MB / 1.146 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.4755, allocations: 103.4 kB / 1.146 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.4756, allocations: 27.98 kB / 1.146 GB, free: 7.797 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.0005426/0.4762, allocations: 269.7 kB / 1.146 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.4763, allocations: 110.6 kB / 1.146 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.4783, allocations: 0.7331 MB / 1.147 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.4783, allocations: 11.92 kB / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4783, allocations: 0 / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4783, allocations: 0 / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.4815, allocations: 1.644 MB / 1.148 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.4815, allocations: 0 / 1.148 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.4821, allocations: 96.03 kB / 1.148 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006348/0.4827, allocations: 154.4 kB / 1.149 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.4827, allocations: 8 kB / 1.149 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.484, allocations: 1.704 MB / 1.15 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.484, allocations: 3.938 kB / 1.15 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.4858, allocations: 0.7839 MB / 1.151 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.4863, allocations: 243.8 kB / 1.151 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.4865, allocations: 8 kB / 1.151 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.4873, allocations: 67.92 kB / 1.151 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4874, allocations: 43.81 kB / 1.151 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.4875, allocations: 19.98 kB / 1.151 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001059/0.4885, allocations: 0.6303 MB / 1.152 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4886, allocations: 7.938 kB / 1.152 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001228/0.4898, allocations: 367.1 kB / 1.152 GB, free: 0.6484 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.001008/0.4908, allocations: 375.6 kB / 1.153 GB, free: 284 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.4925, allocations: 0.5397 MB / 1.153 GB, free: 15.74 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.4926, allocations: 0 / 1.153 GB, free: 15.74 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000872/0.4934, allocations: 304.2 kB / 1.154 GB, free: 15.44 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.4961, allocations: 0.5046 MB / 1.154 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.5002, allocations: 2.284 MB / 1.156 GB, free: 12.61 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/0.5011, allocations: 1.099 MB / 1.157 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.5014, allocations: 71.36 kB / 1.157 GB, free: 11.41 MB / 0.92 GB Notification: Performance of SimCode: time 6.12e-07/0.5014, allocations: 0 / 1.157 GB, free: 11.41 MB / 0.92 GB Notification: Performance of Templates: time 0.04355/0.5449, allocations: 31.64 MB / 1.188 GB, free: 11.9 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/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