Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 106.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.12 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2072/0.5266, allocations: 171.4 MB / 1.471 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005719/0.5323, allocations: 3.404 MB / 1.475 GB, free: 2.074 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006853/0.533, allocations: 23.88 kB / 1.475 GB, free: 2.051 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.534, allocations: 330.1 kB / 1.475 GB, free: 1.727 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.5365, allocations: 1.054 MB / 1.476 GB, free: 0.668 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.5383, allocations: 0.674 MB / 1.477 GB, free: 15.99 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.5405, allocations: 1.521 MB / 1.478 GB, free: 14.47 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.5412, allocations: 413.5 kB / 1.479 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.5427, allocations: 0.7201 MB / 1.479 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.5438, allocations: 0.4902 MB / 1.48 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.5439, allocations: 55.94 kB / 1.48 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5456, allocations: 0.8769 MB / 1.481 GB, free: 11.92 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.5459, allocations: 247.2 kB / 1.481 GB, free: 11.68 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.5464, allocations: 338.5 kB / 1.481 GB, free: 11.35 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5482, allocations: 1.129 MB / 1.482 GB, free: 10.21 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5482, allocations: 0 / 1.482 GB, free: 10.21 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5482, allocations: 0 / 1.482 GB, free: 10.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.5482, allocations: 3.938 kB / 1.482 GB, free: 10.21 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.001521/0.5497, allocations: 0.9418 MB / 1.483 GB, free: 9.219 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5498, allocations: 8.625 kB / 1.483 GB, free: 9.211 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.5499, allocations: 86.47 kB / 1.483 GB, free: 9.117 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.551, allocations: 175.5 kB / 1.484 GB, free: 8.945 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.5519, allocations: 0.5251 MB / 1.484 GB, free: 8.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.552, allocations: 32.94 kB / 1.484 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.5521, allocations: 44 kB / 1.484 GB, free: 8.309 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.5529, allocations: 470.4 kB / 1.485 GB, free: 7.844 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5529, allocations: 0 / 1.485 GB, free: 7.844 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.5529, allocations: 24 kB / 1.485 GB, free: 7.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.553, allocations: 20.98 kB / 1.485 GB, free: 7.801 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.5536, allocations: 407.8 kB / 1.485 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.5567, allocations: 1.811 MB / 1.487 GB, free: 5.441 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.5572, allocations: 278.7 kB / 1.487 GB, free: 5.16 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.5575, allocations: 180.7 kB / 1.487 GB, free: 4.98 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.5577, allocations: 97.03 kB / 1.487 GB, free: 4.867 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5577, allocations: 38.56 kB / 1.487 GB, free: 4.82 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 2.165e-06/0.5577, allocations: 0 / 1.487 GB, free: 4.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002121/0.5598, allocations: 1.069 MB / 1.488 GB, free: 3.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5599, allocations: 55.41 kB / 1.488 GB, free: 3.633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.5605, allocations: 457.9 kB / 1.489 GB, free: 3.172 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.5605, allocations: 33.7 kB / 1.489 GB, free: 3.133 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.5607, allocations: 252.4 kB / 1.489 GB, free: 2.883 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5609, allocations: 119 kB / 1.489 GB, free: 2.766 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.561, allocations: 81.58 kB / 1.489 GB, free: 2.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.5612, allocations: 354.8 kB / 1.49 GB, free: 2.324 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.5614, allocations: 127.9 kB / 1.49 GB, free: 2.199 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.5617, allocations: 201.6 kB / 1.49 GB, free: 1.98 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.002069/0.5638, allocations: 0.8573 MB / 1.491 GB, free: 1.086 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5638, allocations: 0 / 1.491 GB, free: 1.086 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007312/0.5645, allocations: 424.8 kB / 1.491 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5646, allocations: 8 kB / 1.491 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5646, allocations: 0 / 1.491 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.5646, allocations: 4 kB / 1.491 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.5649, allocations: 71.91 kB / 1.491 GB, free: 0.582 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5649, allocations: 4 kB / 1.491 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.5653, allocations: 15.94 kB / 1.491 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.5654, allocations: 16.19 kB / 1.491 GB, free: 0.5469 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.0003034/0.5657, allocations: 213.6 kB / 1.492 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.5658, allocations: 55.72 kB / 1.492 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.5659, allocations: 56.75 kB / 1.492 GB, free: 220 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.5659, allocations: 4 kB / 1.492 GB, free: 216 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5659, allocations: 0 / 1.492 GB, free: 216 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005815/0.5665, allocations: 416.5 kB / 1.492 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.5685, allocations: 1.25 MB / 1.493 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5685, allocations: 4 kB / 1.493 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.5689, allocations: 71.84 kB / 1.493 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.5689, allocations: 8 kB / 1.493 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5689, allocations: 8 kB / 1.493 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.5689, allocations: 8.5 kB / 1.493 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5689, allocations: 4 kB / 1.493 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.5699, allocations: 0.7153 MB / 1.494 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.5702, allocations: 168.7 kB / 1.494 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.5703, allocations: 8 kB / 1.494 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.5707, allocations: 33.8 kB / 1.494 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.5707, allocations: 31.84 kB / 1.494 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.5708, allocations: 20.05 kB / 1.494 GB, free: 13.26 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004019/0.5712, allocations: 335 kB / 1.495 GB, free: 12.94 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5712, allocations: 0 / 1.495 GB, free: 12.94 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005798/0.5717, allocations: 144 kB / 1.495 GB, free: 12.8 MB / 1.201 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.001579/0.5733, allocations: 1.299 MB / 1.496 GB, free: 11.43 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006064/0.5739, allocations: 316.1 kB / 1.496 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5739, allocations: 0 / 1.496 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.5742, allocations: 155.7 kB / 1.496 GB, free: 10.97 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.5759, allocations: 379.2 kB / 1.497 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.582, allocations: 4.419 MB / 1.501 GB, free: 5.961 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.5826, allocations: 0.8822 MB / 1.502 GB, free: 5.047 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004928/0.5831, allocations: 132.6 kB / 1.502 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.5833, allocations: 171.4 kB / 1.502 GB, free: 4.754 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.5833, allocations: 0 / 1.502 GB, free: 4.754 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.6279, allocations: 15.56 MB / 1.517 GB, free: 5.488 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.973/9.601, allocations: 5.75 kB / 1.517 GB, free: 5.484 MB / 1.217 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.04522969806567]