Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 109.2 kB / 16.37 MB, free: 6 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.001773/0.001773, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.44 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2747, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6672/0.9419, allocations: 170.8 MB / 1.118 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.9476, allocations: 3.375 MB / 1.121 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.9485, allocations: 23.72 kB / 1.121 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009688/0.9496, allocations: 316.1 kB / 1.122 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.9522, allocations: 1.009 MB / 1.123 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.954, allocations: 0.6662 MB / 1.123 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.9559, allocations: 1.53 MB / 1.125 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006601/0.9565, allocations: 484.2 kB / 1.125 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/0.9574, allocations: 0.5689 MB / 1.126 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009728/0.9584, allocations: 468 kB / 1.126 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.791e-05/0.9585, allocations: 53.41 kB / 1.126 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.9604, allocations: 0.8301 MB / 1.127 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.9608, allocations: 239.2 kB / 1.127 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.9612, allocations: 335.6 kB / 1.128 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.9628, allocations: 1.134 MB / 1.129 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9629, allocations: 2.359 kB / 1.129 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9629, allocations: 0 / 1.129 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.9629, allocations: 0 / 1.129 GB, free: 5.387 MB / 0.8575 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.001508/0.9644, allocations: 0.9132 MB / 1.13 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.9644, allocations: 9.688 kB / 1.13 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.9657, allocations: 174.5 kB / 1.13 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.9665, allocations: 0.5228 MB / 1.13 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.9666, allocations: 35.69 kB / 1.13 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.9667, allocations: 42.19 kB / 1.13 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008559/0.9676, allocations: 472 kB / 1.131 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.9676, allocations: 4 kB / 1.131 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.9676, allocations: 15.88 kB / 1.131 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.9677, allocations: 18.31 kB / 1.131 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.9683, allocations: 415.4 kB / 1.131 GB, free: 20.47 MB / 0.8731 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.002406/0.9707, allocations: 1.727 MB / 1.133 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.9712, allocations: 296.5 kB / 1.133 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.9714, allocations: 185 kB / 1.133 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.9716, allocations: 99.44 kB / 1.133 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.9717, allocations: 46.33 kB / 1.133 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.9717, allocations: 0 / 1.133 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001848/0.9735, allocations: 1.052 MB / 1.134 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.9736, allocations: 55.22 kB / 1.135 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.9741, allocations: 453.2 kB / 1.135 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.9741, allocations: 36.36 kB / 1.135 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.9743, allocations: 250.8 kB / 1.135 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.9744, allocations: 116.4 kB / 1.135 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.9745, allocations: 72.28 kB / 1.135 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9746, allocations: 355.6 kB / 1.136 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.9748, allocations: 128 kB / 1.136 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.9751, allocations: 194.7 kB / 1.136 GB, free: 18.36 MB / 0.8731 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.977, allocations: 0.8591 MB / 1.137 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.977, allocations: 0 / 1.137 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007098/0.9777, allocations: 426 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.9778, allocations: 7.75 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9778, allocations: 2.562 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.9778, allocations: 2.688 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.9782, allocations: 73.86 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.9782, allocations: 2.875 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.9787, allocations: 11.19 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.9787, allocations: 13.75 kB / 1.137 GB, free: 18.11 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * 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 initialization (42): * Single equations (assignments): 42 * 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.0002947/0.979, allocations: 213.2 kB / 1.138 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.9792, allocations: 64.38 kB / 1.138 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.9793, allocations: 58.77 kB / 1.138 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.9793, allocations: 2.906 kB / 1.138 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.9793, allocations: 2.297 kB / 1.138 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005027/0.9798, allocations: 414.6 kB / 1.138 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.9816, allocations: 1.239 MB / 1.139 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.9817, allocations: 10.7 kB / 1.139 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.9821, allocations: 74.05 kB / 1.139 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.9821, allocations: 4.781 kB / 1.139 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.9821, allocations: 11.41 kB / 1.139 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-06/0.9821, allocations: 8.438 kB / 1.139 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.9821, allocations: 8.031 kB / 1.139 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.983, allocations: 0.7057 MB / 1.14 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.9833, allocations: 169.7 kB / 1.14 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.9834, allocations: 13.48 kB / 1.14 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.9838, allocations: 20.28 kB / 1.14 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.9839, allocations: 31.89 kB / 1.14 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.9839, allocations: 24.88 kB / 1.14 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004529/0.9844, allocations: 330.2 kB / 1.141 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9844, allocations: 0 / 1.141 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006439/0.985, allocations: 140 kB / 1.141 GB, free: 16.82 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (33): * Single equations (assignments): 33 * 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.0004487/0.9855, allocations: 180.8 kB / 1.141 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.9861, allocations: 320.5 kB / 1.141 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9861, allocations: 5.344 kB / 1.141 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.9863, allocations: 159.1 kB / 1.141 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.9879, allocations: 369.2 kB / 1.142 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.9895, allocations: 1.12 MB / 1.143 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.9899, allocations: 0.881 MB / 1.144 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004108/0.9903, allocations: 139 kB / 1.144 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.9904, allocations: 42.41 kB / 1.144 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of SimCode: time 9.31e-07/0.9905, allocations: 1.438 kB / 1.144 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.0184/1.009, allocations: 11.05 MB / 1.155 GB, free: 14.09 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches