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.001025/0.001025, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008229/0.008229, allocations: 172 kB / 16.26 MB, free: 6.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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.413/2.413, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 11.98 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.722, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1901/0.9122, allocations: 166.3 MB / 1.117 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006092/0.9183, allocations: 3.394 MB / 1.121 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/0.9193, allocations: 19.88 kB / 1.121 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009449/0.9203, allocations: 270.5 kB / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.9229, allocations: 0.9531 MB / 1.122 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.9246, allocations: 0.6098 MB / 1.123 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.9269, allocations: 2.099 MB / 1.125 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.9275, allocations: 396.5 kB / 1.125 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009738/0.9285, allocations: 481.8 kB / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.9296, allocations: 471.7 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.9296, allocations: 20 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.9315, allocations: 0.9429 MB / 1.127 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.9318, allocations: 207.4 kB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.9322, allocations: 320.2 kB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.9337, allocations: 1.137 MB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9337, allocations: 0 / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9337, allocations: 4 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9337, allocations: 0 / 1.128 GB, free: 13.08 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.001345/0.9351, allocations: 0.7986 MB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9351, allocations: 8.031 kB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.9364, allocations: 175.1 kB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.9372, allocations: 0.5013 MB / 1.13 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.9372, allocations: 32.94 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.9373, allocations: 44 kB / 1.13 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.9381, allocations: 482.4 kB / 1.13 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.9381, allocations: 0 / 1.13 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.9382, allocations: 24 kB / 1.13 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.9382, allocations: 13 kB / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/0.939, allocations: 415.7 kB / 1.131 GB, free: 10.52 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.002802/0.9418, allocations: 1.743 MB / 1.133 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.9423, allocations: 294.7 kB / 1.133 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.9426, allocations: 186.1 kB / 1.133 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.9428, allocations: 101 kB / 1.133 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.9428, allocations: 38.56 kB / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.9428, allocations: 4 kB / 1.133 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.002016/0.9449, allocations: 1.047 MB / 1.134 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.9449, allocations: 59.41 kB / 1.134 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.9454, allocations: 461.8 kB / 1.135 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.9455, allocations: 29.7 kB / 1.135 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.9457, allocations: 252.2 kB / 1.135 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.9458, allocations: 118.3 kB / 1.135 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.9458, allocations: 29.7 kB / 1.135 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.946, allocations: 358.8 kB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.9462, allocations: 123.9 kB / 1.136 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.9465, allocations: 197.7 kB / 1.136 GB, free: 5.234 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.002046/0.9485, allocations: 0.8732 MB / 1.137 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9485, allocations: 4 kB / 1.137 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006571/0.9492, allocations: 416.5 kB / 1.137 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.9492, allocations: 8 kB / 1.137 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9492, allocations: 0 / 1.137 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.9493, allocations: 4 kB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.9496, allocations: 71.91 kB / 1.137 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9496, allocations: 4 kB / 1.137 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.9501, allocations: 35.95 kB / 1.137 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.9501, allocations: 16 kB / 1.137 GB, free: 3.77 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 sytem: 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.0002807/0.9504, allocations: 217.6 kB / 1.137 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.9505, allocations: 51.44 kB / 1.137 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.9507, allocations: 56.77 kB / 1.137 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.9507, allocations: 4 kB / 1.137 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9507, allocations: 0 / 1.137 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005078/0.9512, allocations: 416.5 kB / 1.138 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.9531, allocations: 1.243 MB / 1.139 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9531, allocations: 8.031 kB / 1.139 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.9534, allocations: 67.91 kB / 1.139 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.9534, allocations: 11.94 kB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.9535, allocations: 15.98 kB / 1.139 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.9535, allocations: 8 kB / 1.139 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9535, allocations: 7.984 kB / 1.139 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.9544, allocations: 0.7032 MB / 1.14 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.9547, allocations: 164.5 kB / 1.14 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.9547, allocations: 15.98 kB / 1.14 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.9552, allocations: 31.98 kB / 1.14 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.9553, allocations: 35.84 kB / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.9553, allocations: 23.98 kB / 1.14 GB, free: 484 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003504/0.9557, allocations: 335.1 kB / 1.14 GB, free: 152 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9557, allocations: 0 / 1.14 GB, free: 152 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005383/0.9562, allocations: 136 kB / 1.141 GB, free: 16 kB / 0.8887 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.0004061/0.9566, allocations: 161.7 kB / 1.141 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.9572, allocations: 323.4 kB / 1.141 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9572, allocations: 384 / 1.141 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.9575, allocations: 163.7 kB / 1.141 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.9595, allocations: 359.2 kB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.9616, allocations: 1.377 MB / 1.143 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.9622, allocations: 0.8862 MB / 1.144 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006202/0.9628, allocations: 136.6 kB / 1.144 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.9629, allocations: 43.44 kB / 1.144 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/0.9629, allocations: 0 / 1.144 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of Templates: time 0.01876/0.9817, allocations: 10.54 MB / 1.154 GB, free: 2.121 MB / 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