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.001606/0.001606, 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.002086/0.002086, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.573/2.573, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.8692 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7448, allocations: 151.6 MB / 1.017 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1793/0.9241, allocations: 170.8 MB / 1.184 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007166/0.9313, allocations: 3.377 MB / 1.187 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009478/0.9323, allocations: 27.88 kB / 1.187 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.9335, allocations: 306.1 kB / 1.188 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.9362, allocations: 1.011 MB / 1.189 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.9378, allocations: 0.6657 MB / 1.189 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.9394, allocations: 1.525 MB / 1.191 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005804/0.94, allocations: 481.5 kB / 1.191 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008262/0.9408, allocations: 0.5603 MB / 1.192 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009892/0.9418, allocations: 472.1 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/0.9419, allocations: 52 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.9434, allocations: 0.8301 MB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.9437, allocations: 243.4 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.9441, allocations: 338.5 kB / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.9455, allocations: 1.118 MB / 1.195 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.9455, allocations: 4 kB / 1.195 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9455, allocations: 0 / 1.195 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9455, allocations: 0 / 1.195 GB, free: 12.14 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.001388/0.9469, allocations: 0.9155 MB / 1.196 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.947, allocations: 12.03 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.9482, allocations: 163.1 kB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.9489, allocations: 0.5052 MB / 1.196 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.949, allocations: 33 kB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.9491, allocations: 44 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.9499, allocations: 478.3 kB / 1.197 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.9499, allocations: 0 / 1.197 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.95, allocations: 20 kB / 1.197 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.95, allocations: 17 kB / 1.197 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.9506, allocations: 411.7 kB / 1.197 GB, free: 9.469 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.002521/0.9532, allocations: 1.747 MB / 1.199 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.9537, allocations: 299.7 kB / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.954, allocations: 180.8 kB / 1.199 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.9542, allocations: 97.09 kB / 1.2 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.9542, allocations: 42.5 kB / 1.2 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.9542, allocations: 0 / 1.2 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002106/0.9564, allocations: 1.056 MB / 1.201 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9564, allocations: 55.41 kB / 1.201 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.9569, allocations: 457.8 kB / 1.201 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.957, allocations: 37.7 kB / 1.201 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.9572, allocations: 248.1 kB / 1.201 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.9573, allocations: 122.3 kB / 1.201 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.9575, allocations: 69.7 kB / 1.202 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9576, allocations: 358.8 kB / 1.202 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.9578, allocations: 119.9 kB / 1.202 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.9581, allocations: 209.3 kB / 1.202 GB, free: 4.129 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.001877/0.9599, allocations: 0.8596 MB / 1.203 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.96, allocations: 0 / 1.203 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005856/0.9606, allocations: 424.5 kB / 1.203 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9606, allocations: 8 kB / 1.203 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.9606, allocations: 3.984 kB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9606, allocations: 4 kB / 1.203 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.9609, allocations: 71.91 kB / 1.204 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.9609, allocations: 4 kB / 1.204 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.9613, allocations: 11.91 kB / 1.204 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.9614, allocations: 16.19 kB / 1.204 GB, free: 2.691 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.0002422/0.9616, allocations: 209.9 kB / 1.204 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.9617, allocations: 59.36 kB / 1.204 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.9619, allocations: 56.77 kB / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.9619, allocations: 4 kB / 1.204 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9619, allocations: 0 / 1.204 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004984/0.9624, allocations: 408.3 kB / 1.204 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.9641, allocations: 1.25 MB / 1.206 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.9641, allocations: 4 kB / 1.206 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.9645, allocations: 71.84 kB / 1.206 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.9645, allocations: 4 kB / 1.206 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.9645, allocations: 12 kB / 1.206 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.9645, allocations: 12.48 kB / 1.206 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.9645, allocations: 7.938 kB / 1.206 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.9654, allocations: 0.7004 MB / 1.206 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.9656, allocations: 168.4 kB / 1.206 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.9657, allocations: 15.92 kB / 1.206 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.9661, allocations: 24 kB / 1.206 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.9662, allocations: 35.83 kB / 1.207 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.9662, allocations: 24.05 kB / 1.207 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003729/0.9666, allocations: 327.1 kB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9666, allocations: 0 / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006535/0.9672, allocations: 140 kB / 1.207 GB, free: 14.96 MB / 0.9669 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.0006294/0.9679, allocations: 177.2 kB / 1.207 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.9687, allocations: 344.1 kB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.9687, allocations: 4 kB / 1.207 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.969, allocations: 163.7 kB / 1.208 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.9709, allocations: 366.1 kB / 1.208 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.9731, allocations: 1.134 MB / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.9736, allocations: 0.8862 MB / 1.21 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005795/0.9742, allocations: 132.6 kB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.9743, allocations: 43.44 kB / 1.21 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of SimCode: time 1.233e-06/0.9743, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.02064/0.995, allocations: 11.05 MB / 1.221 GB, free: 0.7734 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