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.001065/0.001065, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00131/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 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.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 14.22 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1752/0.4443, allocations: 170.2 MB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.4577, allocations: 12.08 MB / 1.236 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006369/0.4584, allocations: 31.75 kB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.4593, allocations: 278.2 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.4609, allocations: 0.7153 MB / 1.237 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.4623, allocations: 0.5655 MB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.4641, allocations: 1.773 MB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.4648, allocations: 0.4949 MB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.4674, allocations: 1.276 MB / 1.241 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.4681, allocations: 478 kB / 1.241 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.4682, allocations: 28 kB / 1.242 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.4693, allocations: 0.6002 MB / 1.242 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.4696, allocations: 243.2 kB / 1.242 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.4697, allocations: 165.3 kB / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008641/0.4706, allocations: 0.8145 MB / 1.243 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4706, allocations: 0 / 1.243 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.358e-06/0.4706, allocations: 0 / 1.243 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.4707, allocations: 3.938 kB / 1.243 GB, free: 7.051 MB / 0.9981 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.001217/0.4719, allocations: 0.9231 MB / 1.244 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.711e-05/0.472, allocations: 8.031 kB / 1.244 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.4729, allocations: 206.8 kB / 1.244 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.4737, allocations: 0.5094 MB / 1.245 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.474, allocations: 109.2 kB / 1.245 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.4741, allocations: 59.98 kB / 1.245 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.4752, allocations: 0.7636 MB / 1.246 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4753, allocations: 7.938 kB / 1.246 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.4753, allocations: 32 kB / 1.246 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.4754, allocations: 21 kB / 1.246 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.4763, allocations: 471.3 kB / 1.246 GB, free: 3.762 MB / 0.9981 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.4788/0.9552, allocations: 4.173 MB / 1.25 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.9553, allocations: 103.8 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9554, allocations: 72.69 kB / 1.251 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.9556, allocations: 99.33 kB / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.9556, allocations: 39.36 kB / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.9556, allocations: 0 / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007317/0.9564, allocations: 238.1 kB / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.9564, allocations: 141.7 kB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.9575, allocations: 0.8341 MB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.9576, allocations: 31.8 kB / 1.252 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.9578, allocations: 394.1 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.9578, allocations: 37.81 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.9579, allocations: 5.719 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.9579, allocations: 321.6 kB / 1.253 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.9582, allocations: 115 kB / 1.253 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.9586, allocations: 354.9 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.9589, allocations: 164.1 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9589, allocations: 2.031 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008554/0.9598, allocations: 498.2 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9598, allocations: 8.562 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9598, allocations: 6.656 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.9599, allocations: 11.19 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.9602, allocations: 99.52 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.9602, allocations: 12.91 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.9609, allocations: 138.7 kB / 1.254 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.9609, allocations: 25.77 kB / 1.254 GB, free: 189.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002231/0.9612, allocations: 222.8 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.9613, allocations: 70.78 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.9614, allocations: 75.38 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9614, allocations: 5.688 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9614, allocations: 1.438 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9614, allocations: 0.7188 kB / 1.254 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.9626, allocations: 1.126 MB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9626, allocations: 2.469 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.9627, allocations: 18.09 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9627, allocations: 2.781 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.9627, allocations: 6.594 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.9627, allocations: 10.02 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9627, allocations: 2.656 kB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.9629, allocations: 265.2 kB / 1.256 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.9631, allocations: 172.4 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.9632, allocations: 2.844 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.9635, allocations: 29.38 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.9635, allocations: 15.2 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.9635, allocations: 5.812 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006475/0.9642, allocations: 0.5843 MB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9642, allocations: 0 / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005466/0.9647, allocations: 157 kB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0004142/0.9652, allocations: 189.4 kB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.9656, allocations: 241.3 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9657, allocations: 0 / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.9657, allocations: 53.11 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.9672, allocations: 361.8 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.9685, allocations: 1.249 MB / 1.259 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.9688, allocations: 0.9451 MB / 1.26 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.9692, allocations: 139.8 kB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.9693, allocations: 45.78 kB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.9693, allocations: 2.938 kB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02158/0.9909, allocations: 10.88 MB / 1.27 GB, free: 185.5 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches