Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008142/0.0008142, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9478/0.9478, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.725/1.725, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.141e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6109/0.611, allocations: 168.2 MB / 1.146 GB, free: 15.58 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008153/0.6191, allocations: 5.402 MB / 1.152 GB, free: 11.91 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.6207, allocations: 54.81 kB / 1.152 GB, free: 11.88 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.6221, allocations: 0.5568 MB / 1.152 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.6264, allocations: 1.723 MB / 1.154 GB, free: 10.61 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.6293, allocations: 1.255 MB / 1.155 GB, free: 9.961 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.6329, allocations: 2.585 MB / 1.158 GB, free: 8.754 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.6342, allocations: 0.715 MB / 1.158 GB, free: 8.406 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.6371, allocations: 1.542 MB / 1.16 GB, free: 7.723 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.6386, allocations: 0.7702 MB / 1.161 GB, free: 7.477 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.6387, allocations: 100.2 kB / 1.161 GB, free: 7.477 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.6411, allocations: 1.267 MB / 1.162 GB, free: 7.051 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005331/0.6416, allocations: 0.5208 MB / 1.163 GB, free: 6.82 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.6422, allocations: 448.4 kB / 1.163 GB, free: 6.645 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.6456, allocations: 2.149 MB / 1.165 GB, free: 5.914 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6456, allocations: 0 / 1.165 GB, free: 5.914 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6456, allocations: 4 kB / 1.165 GB, free: 5.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.6456, allocations: 0 / 1.165 GB, free: 5.91 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002034/0.6476, allocations: 1.425 MB / 1.166 GB, free: 4.984 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6477, allocations: 9.438 kB / 1.166 GB, free: 4.984 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.6489, allocations: 335.8 kB / 1.167 GB, free: 4.902 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.65, allocations: 0.7485 MB / 1.168 GB, free: 4.461 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.6501, allocations: 60.89 kB / 1.168 GB, free: 4.438 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6502, allocations: 91.95 kB / 1.168 GB, free: 4.402 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6517, allocations: 1.474 MB / 1.169 GB, free: 3.438 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6517, allocations: 1.188 kB / 1.169 GB, free: 3.438 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.6518, allocations: 34.34 kB / 1.169 GB, free: 3.414 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.6518, allocations: 41.33 kB / 1.169 GB, free: 3.406 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.6529, allocations: 0.8268 MB / 1.17 GB, free: 3.141 MB / 1.01 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.003604/0.6565, allocations: 3.062 MB / 1.173 GB, free: 1.227 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.657, allocations: 352.5 kB / 1.173 GB, free: 1.082 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.6572, allocations: 204.5 kB / 1.173 GB, free: 1.008 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.6573, allocations: 19.83 kB / 1.174 GB, free: 1.008 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.6573, allocations: 50.94 kB / 1.174 GB, free: 0.957 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 3.587e-06/0.6573, allocations: 3.984 kB / 1.174 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.00192/0.6592, allocations: 1.252 MB / 1.175 GB, free: 296 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.6593, allocations: 56 kB / 1.175 GB, free: 232 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008277/0.6601, allocations: 0.7242 MB / 1.176 GB, free: 15.91 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.6601, allocations: 40.17 kB / 1.176 GB, free: 15.87 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.6604, allocations: 0.5222 MB / 1.176 GB, free: 15.45 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6605, allocations: 144.3 kB / 1.176 GB, free: 15.34 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.6607, allocations: 119.9 kB / 1.176 GB, free: 15.28 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6608, allocations: 382.2 kB / 1.177 GB, free: 14.93 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.6611, allocations: 237.7 kB / 1.177 GB, free: 14.86 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.6616, allocations: 472.3 kB / 1.177 GB, free: 14.5 MB / 1.026 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.6632, allocations: 1.143 MB / 1.179 GB, free: 13.95 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6632, allocations: 2.25 kB / 1.179 GB, free: 13.95 MB / 1.026 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009418/0.6641, allocations: 0.7521 MB / 1.179 GB, free: 13.64 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.6642, allocations: 7.25 kB / 1.179 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6642, allocations: 6.125 kB / 1.179 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.6642, allocations: 9.125 kB / 1.179 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.6645, allocations: 143.5 kB / 1.179 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.6645, allocations: 19.64 kB / 1.179 GB, free: 13.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.665, allocations: 57.12 kB / 1.179 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.6651, allocations: 36.12 kB / 1.18 GB, free: 13.59 MB / 1.026 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000407/0.6655, allocations: 312 kB / 1.18 GB, free: 13.39 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.6656, allocations: 79.34 kB / 1.18 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.6657, allocations: 84.03 kB / 1.18 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6657, allocations: 3.5 kB / 1.18 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6657, allocations: 0 / 1.18 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005015/0.6662, allocations: 0.6767 MB / 1.181 GB, free: 12.75 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.6679, allocations: 1.358 MB / 1.182 GB, free: 12 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6679, allocations: 4.625 kB / 1.182 GB, free: 12 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.6681, allocations: 89.48 kB / 1.182 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6681, allocations: 6.281 kB / 1.182 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.6682, allocations: 12.5 kB / 1.182 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6682, allocations: 7.781 kB / 1.182 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6682, allocations: 9.25 kB / 1.182 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.6689, allocations: 0.8046 MB / 1.183 GB, free: 11.49 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.6691, allocations: 134.2 kB / 1.183 GB, free: 11.42 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.6692, allocations: 15.38 kB / 1.183 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.6695, allocations: 37.73 kB / 1.183 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.6695, allocations: 37.16 kB / 1.183 GB, free: 11.39 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.6696, allocations: 26.97 kB / 1.183 GB, free: 11.39 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004774/0.67, allocations: 0.5002 MB / 1.184 GB, free: 11.18 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.21e-07/0.67, allocations: 4 kB / 1.184 GB, free: 11.18 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007108/0.6707, allocations: 248.7 kB / 1.184 GB, free: 11.16 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003208/0.6711, allocations: 189.1 kB / 1.184 GB, free: 11.03 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006392/0.6717, allocations: 496.4 kB / 1.184 GB, free: 10.87 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6717, allocations: 6.281 kB / 1.184 GB, free: 10.87 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.6719, allocations: 181.5 kB / 1.185 GB, free: 10.81 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.6731, allocations: 453.7 kB / 1.185 GB, free: 10.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.6751, allocations: 1.798 MB / 1.187 GB, free: 9.629 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.6755, allocations: 0.4997 MB / 1.187 GB, free: 9.477 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.6757, allocations: 67.55 kB / 1.187 GB, free: 9.465 MB / 1.026 GB Notification: Performance of SimCode: time 8.11e-07/0.6757, allocations: 0 / 1.187 GB, free: 9.465 MB / 1.026 GB Notification: Performance of Templates: time 0.01688/0.6926, allocations: 14.47 MB / 1.202 GB, free: 3.457 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.96907358802855]