Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_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.002219/0.002218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002305/0.002305, allocations: 190.7 kB / 16.14 MB, free: 6.645 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 71.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7509, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1705/0.9215, allocations: 168.6 MB / 1.181 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005516/0.927, allocations: 3.424 MB / 1.185 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006667/0.9277, allocations: 19.88 kB / 1.185 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.9288, allocations: 274.5 kB / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.9312, allocations: 0.9532 MB / 1.186 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.9327, allocations: 0.6106 MB / 1.186 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.9348, allocations: 2.102 MB / 1.188 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.9354, allocations: 409 kB / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007793/0.9362, allocations: 493.8 kB / 1.189 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.9372, allocations: 490.9 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.9373, allocations: 28 kB / 1.19 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.939, allocations: 0.9468 MB / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.9392, allocations: 211.4 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.9396, allocations: 302.6 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.9409, allocations: 1.165 MB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9409, allocations: 0 / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.62e-07/0.9409, allocations: 0 / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.9409, allocations: 0 / 1.192 GB, free: 14.2 MB / 0.9512 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.001433/0.9424, allocations: 0.9077 MB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9424, allocations: 8.031 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.9436, allocations: 183.1 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.9444, allocations: 0.5014 MB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.9444, allocations: 29 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.9445, allocations: 47.91 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.9453, allocations: 482.2 kB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.9453, allocations: 0 / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.9453, allocations: 24 kB / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.9454, allocations: 13 kB / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.946, allocations: 415.7 kB / 1.195 GB, free: 11.51 MB / 0.9512 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.002404/0.9484, allocations: 1.736 MB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.9489, allocations: 294.6 kB / 1.197 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.9491, allocations: 176.8 kB / 1.197 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.9493, allocations: 97.09 kB / 1.197 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.9494, allocations: 42.5 kB / 1.197 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.9494, allocations: 0 / 1.197 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001921/0.9513, allocations: 1.06 MB / 1.198 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.9513, allocations: 55.41 kB / 1.198 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.9518, allocations: 457.9 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.9519, allocations: 29.7 kB / 1.199 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.952, allocations: 256.1 kB / 1.199 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.9521, allocations: 118.3 kB / 1.199 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.9523, allocations: 69.61 kB / 1.199 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9524, allocations: 362.8 kB / 1.199 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.9526, allocations: 119.9 kB / 1.2 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.9529, allocations: 201.6 kB / 1.2 GB, free: 6.191 MB / 0.9512 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.001887/0.9547, allocations: 0.8678 MB / 1.201 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9548, allocations: 3.984 kB / 1.201 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005918/0.9554, allocations: 416.8 kB / 1.201 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.9554, allocations: 8 kB / 1.201 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9554, allocations: 0 / 1.201 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9554, allocations: 4 kB / 1.201 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.9557, allocations: 67.91 kB / 1.201 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.9557, allocations: 7.938 kB / 1.201 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.9562, allocations: 32.02 kB / 1.201 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.9562, allocations: 16 kB / 1.201 GB, free: 4.734 MB / 0.9512 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.0002458/0.9565, allocations: 201.7 kB / 1.201 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.9566, allocations: 55.38 kB / 1.201 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.9567, allocations: 64.75 kB / 1.201 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9567, allocations: 0 / 1.201 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9567, allocations: 4 kB / 1.201 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004705/0.9572, allocations: 400.3 kB / 1.202 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.9589, allocations: 1.249 MB / 1.203 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9589, allocations: 4 kB / 1.203 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.9593, allocations: 75.84 kB / 1.203 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.9593, allocations: 8.5 kB / 1.203 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.9593, allocations: 16 kB / 1.203 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.9594, allocations: 15.92 kB / 1.203 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9594, allocations: 4 kB / 1.203 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.9602, allocations: 0.7039 MB / 1.204 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.9604, allocations: 164.5 kB / 1.204 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.9605, allocations: 15.98 kB / 1.204 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.9609, allocations: 28.58 kB / 1.204 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.961, allocations: 39.91 kB / 1.204 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.961, allocations: 16 kB / 1.204 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003442/0.9614, allocations: 331.1 kB / 1.204 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9614, allocations: 0 / 1.204 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005394/0.9619, allocations: 144 kB / 1.205 GB, free: 1 MB / 0.9512 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.0004317/0.9624, allocations: 174.4 kB / 1.205 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.9629, allocations: 320 kB / 1.205 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9629, allocations: 0 / 1.205 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.9631, allocations: 162.2 kB / 1.205 GB, free: 364 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.9647, allocations: 355.3 kB / 1.206 GB, free: 16 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.9664, allocations: 1.31 MB / 1.207 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.9668, allocations: 0.8823 MB / 1.208 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004656/0.9673, allocations: 140.6 kB / 1.208 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.9674, allocations: 43.44 kB / 1.208 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.9674, allocations: 0 / 1.208 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.01941/0.9868, allocations: 10.59 MB / 1.218 GB, free: 3.129 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches