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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 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.001138/0.001138, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.713, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1963/0.9093, allocations: 170.8 MB / 1.116 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.915, allocations: 3.387 MB / 1.12 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006983/0.9157, allocations: 19.88 kB / 1.12 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009665/0.9167, allocations: 318.1 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.9192, allocations: 1.015 MB / 1.121 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.9209, allocations: 0.6562 MB / 1.122 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.9229, allocations: 1.527 MB / 1.123 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.9238, allocations: 481.4 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.9248, allocations: 0.5603 MB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.9261, allocations: 459.9 kB / 1.125 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.9262, allocations: 56 kB / 1.125 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.9279, allocations: 0.8262 MB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.9282, allocations: 251.3 kB / 1.126 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.9287, allocations: 334.5 kB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.9304, allocations: 1.126 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9304, allocations: 0 / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9304, allocations: 0 / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.9305, allocations: 0 / 1.127 GB, free: 11.45 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001718/0.9322, allocations: 0.9154 MB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.9322, allocations: 16.03 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.9335, allocations: 171.2 kB / 1.128 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.9343, allocations: 0.4935 MB / 1.129 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.9344, allocations: 33 kB / 1.129 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.9345, allocations: 52 kB / 1.129 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008226/0.9353, allocations: 474.4 kB / 1.129 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.9353, allocations: 0 / 1.129 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.9354, allocations: 23.94 kB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.9354, allocations: 17 kB / 1.129 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.9361, allocations: 415.7 kB / 1.13 GB, free: 8.758 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.002858/0.939, allocations: 1.747 MB / 1.131 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.9395, allocations: 294.6 kB / 1.132 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.9397, allocations: 186 kB / 1.132 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.9399, allocations: 93.09 kB / 1.132 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.94, allocations: 42.5 kB / 1.132 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.94, allocations: 0 / 1.132 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.002173/0.9422, allocations: 1.054 MB / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.9422, allocations: 55.41 kB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.9427, allocations: 457.9 kB / 1.133 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.9428, allocations: 33.7 kB / 1.133 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.943, allocations: 252.1 kB / 1.134 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.9431, allocations: 118.3 kB / 1.134 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.9432, allocations: 65.7 kB / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.9433, allocations: 358.8 kB / 1.134 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.9436, allocations: 127.9 kB / 1.134 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.9438, allocations: 185.9 kB / 1.135 GB, free: 3.445 MB / 0.8887 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.001939/0.9458, allocations: 0.8663 MB / 1.135 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.9458, allocations: 4 kB / 1.135 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006764/0.9465, allocations: 420.5 kB / 1.136 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9465, allocations: 14.16 kB / 1.136 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.9465, allocations: 0 / 1.136 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.9465, allocations: 4 kB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.9469, allocations: 71.91 kB / 1.136 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.9469, allocations: 4 kB / 1.136 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.9473, allocations: 8 kB / 1.136 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.9473, allocations: 16 kB / 1.136 GB, free: 2.004 MB / 0.8887 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.0002893/0.9476, allocations: 213.6 kB / 1.136 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.9477, allocations: 63.28 kB / 1.136 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.9479, allocations: 56.77 kB / 1.136 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.9479, allocations: 4 kB / 1.136 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.9479, allocations: 0 / 1.136 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005576/0.9485, allocations: 416.5 kB / 1.137 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.9504, allocations: 1.249 MB / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.9504, allocations: 4 kB / 1.138 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.9508, allocations: 67.91 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.9508, allocations: 8 kB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.9508, allocations: 11.98 kB / 1.138 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.9508, allocations: 8 kB / 1.138 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.9509, allocations: 7.938 kB / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009815/0.9518, allocations: 0.6997 MB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.952, allocations: 168.4 kB / 1.139 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.9521, allocations: 15.98 kB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.9525, allocations: 24.05 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.9526, allocations: 31.84 kB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.9526, allocations: 19.98 kB / 1.139 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003356/0.953, allocations: 327.1 kB / 1.139 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.953, allocations: 0 / 1.139 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005516/0.9535, allocations: 148 kB / 1.139 GB, free: 14.26 MB / 0.9044 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.0004541/0.954, allocations: 165.9 kB / 1.139 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006853/0.9547, allocations: 347.4 kB / 1.14 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9547, allocations: 3.938 kB / 1.14 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.955, allocations: 164.4 kB / 1.14 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.9567, allocations: 363.8 kB / 1.14 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.9584, allocations: 1.122 MB / 1.141 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.9589, allocations: 0.8901 MB / 1.142 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004792/0.9594, allocations: 132.6 kB / 1.142 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.9595, allocations: 47.42 kB / 1.142 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.9595, allocations: 4 kB / 1.142 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.01761/0.9771, allocations: 11.07 MB / 1.153 GB, free: 68 kB / 0.9044 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches