Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 216.8 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.614/3.614, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 77.17 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2161/0.6273, allocations: 150.7 MB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006872/0.6342, allocations: 3.199 MB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000962/0.6352, allocations: 27.75 kB / 1.476 GB, free: 7.359 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6362, allocations: 302.1 kB / 1.476 GB, free: 7.062 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.6391, allocations: 1.054 MB / 1.477 GB, free: 6.004 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.641, allocations: 0.6841 MB / 1.478 GB, free: 5.324 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.6431, allocations: 1.558 MB / 1.479 GB, free: 3.754 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.6438, allocations: 374.5 kB / 1.48 GB, free: 3.387 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.6452, allocations: 0.7396 MB / 1.48 GB, free: 2.645 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.6463, allocations: 481.3 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.6464, allocations: 56 kB / 1.481 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.6479, allocations: 0.6896 MB / 1.482 GB, free: 1.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.6482, allocations: 251.2 kB / 1.482 GB, free: 1.184 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.6486, allocations: 278.9 kB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.6503, allocations: 1.121 MB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6503, allocations: 4 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6503, allocations: 0 / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.6503, allocations: 0 / 1.483 GB, free: 15.78 MB / 1.186 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.001543/0.6519, allocations: 0.8557 MB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6519, allocations: 8.031 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.6531, allocations: 179.5 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.6541, allocations: 470.5 kB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.6542, allocations: 33 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/0.6543, allocations: 43.98 kB / 1.485 GB, free: 14.15 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.6552, allocations: 0.7182 MB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6552, allocations: 0 / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.6553, allocations: 16 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.6553, allocations: 17 kB / 1.486 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.656, allocations: 411.7 kB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.6584, allocations: 1.133 MB / 1.487 GB, free: 11.76 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.6589, allocations: 287.9 kB / 1.487 GB, free: 11.47 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.6592, allocations: 176.7 kB / 1.487 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.6593, allocations: 23.98 kB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.6594, allocations: 42.55 kB / 1.488 GB, free: 11.22 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.624e-06/0.6594, allocations: 0 / 1.488 GB, free: 11.22 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002064/0.6614, allocations: 0.9781 MB / 1.488 GB, free: 10.21 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.6615, allocations: 59.34 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.6619, allocations: 357.6 kB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.6619, allocations: 41.7 kB / 1.489 GB, free: 9.742 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6622, allocations: 268.5 kB / 1.489 GB, free: 9.477 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.6623, allocations: 119 kB / 1.489 GB, free: 9.359 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.6624, allocations: 65.69 kB / 1.489 GB, free: 9.289 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.6626, allocations: 350.8 kB / 1.49 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.6628, allocations: 127.9 kB / 1.49 GB, free: 8.812 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.6631, allocations: 252.9 kB / 1.49 GB, free: 8.531 MB / 1.186 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.001929/0.6651, allocations: 0.7956 MB / 1.491 GB, free: 7.715 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6651, allocations: 0 / 1.491 GB, free: 7.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006504/0.6657, allocations: 409 kB / 1.491 GB, free: 7.309 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6657, allocations: 4 kB / 1.491 GB, free: 7.305 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6658, allocations: 7.984 kB / 1.491 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.6658, allocations: 4 kB / 1.491 GB, free: 7.293 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.6661, allocations: 64.11 kB / 1.491 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.6661, allocations: 11.92 kB / 1.491 GB, free: 7.219 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.6664, allocations: 16 kB / 1.491 GB, free: 7.203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.6665, allocations: 8 kB / 1.491 GB, free: 7.195 MB / 1.186 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.0002971/0.6668, allocations: 213.7 kB / 1.492 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.6669, allocations: 47.66 kB / 1.492 GB, free: 6.93 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.667, allocations: 56.23 kB / 1.492 GB, free: 6.871 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.667, allocations: 4 kB / 1.492 GB, free: 6.867 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.667, allocations: 0 / 1.492 GB, free: 6.867 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000552/0.6675, allocations: 404.3 kB / 1.492 GB, free: 6.441 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.6694, allocations: 1.087 MB / 1.493 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6694, allocations: 4.5 kB / 1.493 GB, free: 5.266 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.6697, allocations: 75.89 kB / 1.493 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.6697, allocations: 7.938 kB / 1.493 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.6698, allocations: 12 kB / 1.493 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.6698, allocations: 11.94 kB / 1.493 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6698, allocations: 4 kB / 1.493 GB, free: 5.156 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.6707, allocations: 0.6957 MB / 1.494 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.6709, allocations: 91.64 kB / 1.494 GB, free: 4.305 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.671, allocations: 8 kB / 1.494 GB, free: 4.297 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.6714, allocations: 24.05 kB / 1.494 GB, free: 4.273 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.6714, allocations: 35.83 kB / 1.494 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.6715, allocations: 20 kB / 1.494 GB, free: 4.219 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002731/0.6717, allocations: 251.2 kB / 1.494 GB, free: 3.977 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6717, allocations: 0 / 1.494 GB, free: 3.977 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005322/0.6723, allocations: 140 kB / 1.494 GB, free: 3.84 MB / 1.186 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.0003083/0.6726, allocations: 159.1 kB / 1.495 GB, free: 3.672 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.6731, allocations: 308.8 kB / 1.495 GB, free: 3.371 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6731, allocations: 8 kB / 1.495 GB, free: 3.363 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.6734, allocations: 155.7 kB / 1.495 GB, free: 3.211 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6747, allocations: 286 kB / 1.495 GB, free: 2.938 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.6765, allocations: 1.121 MB / 1.496 GB, free: 1.738 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.6768, allocations: 284.5 kB / 1.497 GB, free: 1.438 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003742/0.6772, allocations: 124.2 kB / 1.497 GB, free: 1.316 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6773, allocations: 39.44 kB / 1.497 GB, free: 1.277 MB / 1.186 GB Notification: Performance of SimCode: time 4.71e-07/0.6773, allocations: 0 / 1.497 GB, free: 1.277 MB / 1.186 GB Notification: Performance of Templates: time 0.01953/0.6969, allocations: 10.33 MB / 1.507 GB, free: 7.203 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.505570113658905]