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.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.0008125/0.0008125, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007489/0.0007489, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8342/0.8342, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.701/1.701, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> 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 1.914e-06/1.914e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.112e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.523/0.5231, allocations: 150.6 MB / 1.147 GB, free: 5.555 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.5273, allocations: 3.208 MB / 1.15 GB, free: 3.398 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.528, allocations: 29.12 kB / 1.15 GB, free: 3.383 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.5288, allocations: 309.5 kB / 1.15 GB, free: 3.215 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.5309, allocations: 1.086 MB / 1.151 GB, free: 2.609 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.5323, allocations: 0.6984 MB / 1.152 GB, free: 2.246 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.534, allocations: 1.561 MB / 1.153 GB, free: 1.516 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005563/0.5346, allocations: 369.6 kB / 1.154 GB, free: 1.348 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.536, allocations: 0.9034 MB / 1.155 GB, free: 0.9453 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.537, allocations: 451.6 kB / 1.155 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.5371, allocations: 52.97 kB / 1.155 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.5385, allocations: 0.6999 MB / 1.156 GB, free: 0.543 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.5388, allocations: 256.4 kB / 1.156 GB, free: 436 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.5391, allocations: 243.4 kB / 1.156 GB, free: 336 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.5411, allocations: 1.153 MB / 1.157 GB, free: 15.94 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5411, allocations: 6.094 kB / 1.157 GB, free: 15.93 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5411, allocations: 0 / 1.157 GB, free: 15.93 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.5411, allocations: 3.938 kB / 1.157 GB, free: 15.93 MB / 1.026 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.001457/0.5426, allocations: 0.8428 MB / 1.158 GB, free: 15.34 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5426, allocations: 10.28 kB / 1.158 GB, free: 15.34 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.192e-05/0.5427, allocations: 88.55 kB / 1.158 GB, free: 15.27 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007928/0.5435, allocations: 184.5 kB / 1.159 GB, free: 15.22 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.5442, allocations: 459.1 kB / 1.159 GB, free: 14.93 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.5442, allocations: 30.72 kB / 1.159 GB, free: 14.91 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.5443, allocations: 48.27 kB / 1.159 GB, free: 14.89 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.545, allocations: 0.7191 MB / 1.16 GB, free: 14.39 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.545, allocations: 0.7031 kB / 1.16 GB, free: 14.39 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.545, allocations: 24.28 kB / 1.16 GB, free: 14.38 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.545, allocations: 15.19 kB / 1.16 GB, free: 14.38 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.5456, allocations: 408 kB / 1.16 GB, free: 14.25 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.5474, allocations: 1.227 MB / 1.161 GB, free: 13.58 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.5478, allocations: 287.1 kB / 1.162 GB, free: 13.46 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5479, allocations: 167.2 kB / 1.162 GB, free: 13.39 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.548, allocations: 23.09 kB / 1.162 GB, free: 13.39 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5481, allocations: 42.5 kB / 1.162 GB, free: 13.34 MB / 1.026 GB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/0.5481, allocations: 0 / 1.162 GB, free: 13.34 MB / 1.026 GB Notification: Performance of matching and sorting (n=33): time 0.001507/0.5496, allocations: 0.9918 MB / 1.163 GB, free: 12.81 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5496, allocations: 55.09 kB / 1.163 GB, free: 12.75 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.55, allocations: 459 kB / 1.163 GB, free: 12.54 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.55, allocations: 36.45 kB / 1.163 GB, free: 12.5 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.5502, allocations: 254.7 kB / 1.164 GB, free: 12.29 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.5503, allocations: 118.4 kB / 1.164 GB, free: 12.2 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.5504, allocations: 70.62 kB / 1.164 GB, free: 12.15 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5505, allocations: 357.7 kB / 1.164 GB, free: 11.82 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5506, allocations: 125.8 kB / 1.164 GB, free: 11.78 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.5508, allocations: 245.6 kB / 1.165 GB, free: 11.61 MB / 1.026 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.001211/0.552, allocations: 0.7887 MB / 1.165 GB, free: 11.29 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.552, allocations: 1.188 kB / 1.165 GB, free: 11.29 MB / 1.026 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004776/0.5525, allocations: 408.6 kB / 1.166 GB, free: 11.12 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5525, allocations: 13.64 kB / 1.166 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5525, allocations: 1.281 kB / 1.166 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5525, allocations: 4.094 kB / 1.166 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.5527, allocations: 78.41 kB / 1.166 GB, free: 11.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5528, allocations: 4.438 kB / 1.166 GB, free: 11.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.553, allocations: 10.28 kB / 1.166 GB, free: 11.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.553, allocations: 14.95 kB / 1.166 GB, free: 11.09 MB / 1.026 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.0002329/0.5533, allocations: 217.3 kB / 1.166 GB, free: 10.92 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.5533, allocations: 54.5 kB / 1.166 GB, free: 10.89 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.5534, allocations: 61.36 kB / 1.166 GB, free: 10.86 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5534, allocations: 2.562 kB / 1.166 GB, free: 10.86 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5534, allocations: 1.125 kB / 1.166 GB, free: 10.86 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003683/0.5538, allocations: 419 kB / 1.167 GB, free: 10.59 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5551, allocations: 1.132 MB / 1.168 GB, free: 9.898 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5551, allocations: 5.047 kB / 1.168 GB, free: 9.898 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.5553, allocations: 77.73 kB / 1.168 GB, free: 9.887 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5553, allocations: 6.812 kB / 1.168 GB, free: 9.887 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5553, allocations: 15 kB / 1.168 GB, free: 9.879 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.5553, allocations: 10.23 kB / 1.168 GB, free: 9.875 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5553, allocations: 4.688 kB / 1.168 GB, free: 9.875 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.556, allocations: 0.6913 MB / 1.168 GB, free: 9.426 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.5561, allocations: 100.3 kB / 1.169 GB, free: 9.371 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.5562, allocations: 15.92 kB / 1.169 GB, free: 9.367 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5564, allocations: 20.17 kB / 1.169 GB, free: 9.359 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.5564, allocations: 30.92 kB / 1.169 GB, free: 9.352 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5565, allocations: 20.8 kB / 1.169 GB, free: 9.348 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002818/0.5568, allocations: 334.5 kB / 1.169 GB, free: 9.188 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5568, allocations: 0 / 1.169 GB, free: 9.188 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004149/0.5572, allocations: 140.8 kB / 1.169 GB, free: 9.176 MB / 1.026 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.0009531/0.5581, allocations: 1.274 MB / 1.17 GB, free: 8.188 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.5586, allocations: 323.5 kB / 1.171 GB, free: 8.074 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5586, allocations: 1.156 kB / 1.171 GB, free: 8.074 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.5587, allocations: 153.9 kB / 1.171 GB, free: 8.023 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5598, allocations: 367.4 kB / 1.171 GB, free: 7.93 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.5639, allocations: 4.345 MB / 1.175 GB, free: 5.285 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5642, allocations: 285.7 kB / 1.176 GB, free: 5.176 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.5646, allocations: 136.9 kB / 1.176 GB, free: 5.145 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.5648, allocations: 168.9 kB / 1.176 GB, free: 5.027 MB / 1.026 GB Notification: Performance of SimCode: time 1.253e-06/0.5648, allocations: 0 / 1.176 GB, free: 5.027 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.595, allocations: 17.33 MB / 1.193 GB, free: 15.68 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/7.166, allocations: 13.09 kB / 1.193 GB, free: 15.67 MB / 1.042 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable vol.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.100713634863496]