Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001238/0.001239, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001555/0.001555, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003944, allocations: 8.094 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 159.6 MB / 1.058 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1653/0.4352, allocations: 161 MB / 1.215 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006279/0.4415, allocations: 4.124 MB / 1.219 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005659/0.4421, allocations: 27.75 kB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.4428, allocations: 246.4 kB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.4451, allocations: 0.9098 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.4466, allocations: 0.5408 MB / 1.221 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.4486, allocations: 1.879 MB / 1.223 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.4492, allocations: 376.3 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4502, allocations: 0.5678 MB / 1.224 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006238/0.4508, allocations: 470.2 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.4509, allocations: 20 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.4525, allocations: 0.8068 MB / 1.225 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.4528, allocations: 203.4 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.453, allocations: 153.4 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009662/0.4539, allocations: 0.8651 MB / 1.226 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4539, allocations: 0 / 1.226 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4539, allocations: 0 / 1.226 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.454, allocations: 0 / 1.226 GB, free: 8.727 MB / 0.9825 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.001357/0.4553, allocations: 0.8957 MB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4554, allocations: 8.031 kB / 1.227 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.4564, allocations: 171.1 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.4572, allocations: 0.517 MB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4573, allocations: 33 kB / 1.228 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.4573, allocations: 40 kB / 1.228 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/0.4581, allocations: 470.4 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4582, allocations: 0 / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.4582, allocations: 16 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.4582, allocations: 17 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.459, allocations: 423.7 kB / 1.229 GB, free: 6.062 MB / 0.9825 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.00248/0.4615, allocations: 2.043 MB / 1.231 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.462, allocations: 290.8 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.4623, allocations: 194 kB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.4626, allocations: 194.1 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4626, allocations: 42.48 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.4626, allocations: 7.938 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.001507/0.4641, allocations: 0.6486 MB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.4642, allocations: 63.34 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.4647, allocations: 442 kB / 1.232 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4647, allocations: 37.7 kB / 1.233 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.4649, allocations: 276.2 kB / 1.233 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.465, allocations: 102.5 kB / 1.233 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.4651, allocations: 8 kB / 1.233 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4652, allocations: 354.8 kB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.4654, allocations: 127.9 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.4658, allocations: 210.5 kB / 1.234 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4661, allocations: 159.9 kB / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4661, allocations: 0 / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006879/0.4668, allocations: 417.4 kB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.4668, allocations: 131 kB / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4669, allocations: 0 / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4669, allocations: 4 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.4672, allocations: 75.89 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4673, allocations: 4 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.4677, allocations: 63.64 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.4678, allocations: 12 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.4678, allocations: 4 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006015/0.4684, allocations: 347.7 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/0.4684, allocations: 0 / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.4684, allocations: 4 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.4687, allocations: 71.84 kB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.4687, allocations: 160 / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.4692, allocations: 67.64 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.4692, allocations: 16 kB / 1.235 GB, free: 15.36 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.4695, allocations: 285 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.4695, allocations: 51.39 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/0.4704, allocations: 428.2 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4704, allocations: 4 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4704, allocations: 0 / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000657/0.4711, allocations: 453.1 kB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.4727, allocations: 1.146 MB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4727, allocations: 0 / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.473, allocations: 63.91 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.4733, allocations: 49.03 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4733, allocations: 8 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4745, allocations: 1.437 MB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4745, allocations: 7.984 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4756, allocations: 0.7051 MB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.4758, allocations: 168.4 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.4759, allocations: 8 kB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.4763, allocations: 43.97 kB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.4764, allocations: 31.86 kB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4764, allocations: 12 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003963/0.4768, allocations: 310.9 kB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4768, allocations: 0 / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00103/0.4778, allocations: 303.3 kB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005971/0.4784, allocations: 187.8 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.4796, allocations: 0.5033 MB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.4796, allocations: 0.625 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.4802, allocations: 299.8 kB / 1.241 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.4818, allocations: 309.1 kB / 1.241 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4839, allocations: 1.342 MB / 1.243 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.4844, allocations: 0.9017 MB / 1.244 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006548/0.485, allocations: 164.4 kB / 1.244 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4852, allocations: 43.42 kB / 1.244 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/0.4852, allocations: 0 / 1.244 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of Templates: time 0.5248/1.01, allocations: 9.485 MB / 1.253 GB, free: 27.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches