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.001558/0.001558, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001675/0.001675, allocations: 190.4 kB / 22.22 MB, free: 5.102 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.341/1.341, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.943/2.943, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 65.7 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 174.9 MB / 1.316 GB, free: 9.734 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.192/0.5014, allocations: 171.6 MB / 1.484 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005599/0.507, allocations: 3.424 MB / 1.487 GB, free: 10.05 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006587/0.5077, allocations: 31.69 kB / 1.487 GB, free: 10.02 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5089, allocations: 326.1 kB / 1.487 GB, free: 9.695 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.5119, allocations: 1.074 MB / 1.488 GB, free: 8.617 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.5137, allocations: 0.6916 MB / 1.489 GB, free: 7.93 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.5158, allocations: 1.572 MB / 1.491 GB, free: 6.348 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.5163, allocations: 378 kB / 1.491 GB, free: 5.977 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.5175, allocations: 0.7395 MB / 1.492 GB, free: 5.234 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5186, allocations: 497.6 kB / 1.492 GB, free: 4.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.5187, allocations: 56 kB / 1.492 GB, free: 4.695 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.5205, allocations: 0.8924 MB / 1.493 GB, free: 3.801 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.5208, allocations: 239.3 kB / 1.493 GB, free: 3.566 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.5212, allocations: 342.5 kB / 1.494 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.5228, allocations: 1.137 MB / 1.495 GB, free: 2.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5228, allocations: 4 kB / 1.495 GB, free: 2.086 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5228, allocations: 0 / 1.495 GB, free: 2.086 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5228, allocations: 0 / 1.495 GB, free: 2.086 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.001628/0.5245, allocations: 0.8548 MB / 1.496 GB, free: 1.199 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5245, allocations: 12.03 kB / 1.496 GB, free: 1.188 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.5257, allocations: 175.5 kB / 1.496 GB, free: 1.016 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/0.5266, allocations: 478.5 kB / 1.496 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.5266, allocations: 33 kB / 1.496 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.5267, allocations: 44 kB / 1.496 GB, free: 460 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.5275, allocations: 466.4 kB / 1.497 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5275, allocations: 0 / 1.497 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.5276, allocations: 23.94 kB / 1.497 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.5276, allocations: 13 kB / 1.497 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.5283, allocations: 415.7 kB / 1.497 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.5309, allocations: 1.77 MB / 1.499 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.5314, allocations: 274.6 kB / 1.499 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.5316, allocations: 184.7 kB / 1.499 GB, free: 13.17 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.5317, allocations: 19.98 kB / 1.499 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5318, allocations: 42.5 kB / 1.499 GB, free: 13.1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.222e-06/0.5318, allocations: 0 / 1.499 GB, free: 13.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001884/0.5337, allocations: 1 MB / 1.5 GB, free: 12.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.5337, allocations: 55.41 kB / 1.5 GB, free: 12 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.5342, allocations: 457.9 kB / 1.501 GB, free: 11.55 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.5342, allocations: 33.7 kB / 1.501 GB, free: 11.51 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.5344, allocations: 252.5 kB / 1.501 GB, free: 11.26 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.5345, allocations: 123 kB / 1.501 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5347, allocations: 69.66 kB / 1.501 GB, free: 11.06 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5348, allocations: 358.8 kB / 1.502 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.535, allocations: 131.9 kB / 1.502 GB, free: 10.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.5353, allocations: 189.9 kB / 1.502 GB, free: 10.37 MB / 1.201 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.001909/0.5372, allocations: 0.7761 MB / 1.503 GB, free: 9.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5372, allocations: 0 / 1.503 GB, free: 9.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006327/0.5379, allocations: 420.8 kB / 1.503 GB, free: 9.152 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5379, allocations: 12.19 kB / 1.503 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5379, allocations: 0 / 1.503 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5379, allocations: 4 kB / 1.503 GB, free: 9.137 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.5382, allocations: 71.91 kB / 1.503 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.5382, allocations: 4 kB / 1.503 GB, free: 9.062 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.5386, allocations: 11.98 kB / 1.503 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.5386, allocations: 19.98 kB / 1.503 GB, free: 9.031 MB / 1.201 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.0002642/0.5389, allocations: 210.3 kB / 1.503 GB, free: 8.816 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.539, allocations: 67.55 kB / 1.503 GB, free: 8.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.5391, allocations: 56.75 kB / 1.504 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5391, allocations: 4 kB / 1.504 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5391, allocations: 0 / 1.504 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005388/0.5396, allocations: 408.3 kB / 1.504 GB, free: 8.258 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.5415, allocations: 1.225 MB / 1.505 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5415, allocations: 7.938 kB / 1.505 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.5418, allocations: 71.89 kB / 1.505 GB, free: 6.855 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.5418, allocations: 8 kB / 1.505 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.5419, allocations: 11.94 kB / 1.505 GB, free: 6.836 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/0.5419, allocations: 8 kB / 1.505 GB, free: 6.828 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5419, allocations: 7.938 kB / 1.505 GB, free: 6.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.5428, allocations: 0.7045 MB / 1.506 GB, free: 6.051 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.543, allocations: 95.61 kB / 1.506 GB, free: 5.957 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.5431, allocations: 15.98 kB / 1.506 GB, free: 5.941 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.5435, allocations: 21.94 kB / 1.506 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.5435, allocations: 35.83 kB / 1.506 GB, free: 5.887 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.5436, allocations: 27.98 kB / 1.506 GB, free: 5.859 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000365/0.5439, allocations: 323.1 kB / 1.506 GB, free: 5.551 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5439, allocations: 0 / 1.506 GB, free: 5.551 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005179/0.5445, allocations: 144 kB / 1.507 GB, free: 5.41 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.0003694/0.5448, allocations: 163.5 kB / 1.507 GB, free: 5.25 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.5454, allocations: 319.7 kB / 1.507 GB, free: 4.938 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5454, allocations: 0 / 1.507 GB, free: 4.938 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.5456, allocations: 160.6 kB / 1.507 GB, free: 4.781 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.5471, allocations: 356.9 kB / 1.507 GB, free: 4.438 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.5488, allocations: 1.146 MB / 1.509 GB, free: 3.211 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.5493, allocations: 0.8862 MB / 1.509 GB, free: 2.297 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.5497, allocations: 128.6 kB / 1.51 GB, free: 2.172 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5498, allocations: 43.44 kB / 1.51 GB, free: 2.129 MB / 1.201 GB Notification: Performance of SimCode: time 4.11e-07/0.5498, allocations: 0 / 1.51 GB, free: 2.129 MB / 1.201 GB Notification: Performance of Templates: time 0.01844/0.5682, allocations: 11.43 MB / 1.521 GB, free: 6.859 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.465974675491452]