Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001769/0.001769, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.002164/0.002164, allocations: 222.9 kB / 22.26 MB, free: 5.211 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [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.002078/0.002078, allocations: 67.75 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1989/0.5254, allocations: 174.7 MB / 1.454 GB, free: 12.4 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007205/0.5326, allocations: 4.315 MB / 1.458 GB, free: 8.078 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.5334, allocations: 31.75 kB / 1.458 GB, free: 8.047 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.5346, allocations: 369.9 kB / 1.459 GB, free: 7.684 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.5373, allocations: 1.05 MB / 1.46 GB, free: 6.629 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.5396, allocations: 0.844 MB / 1.46 GB, free: 5.789 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.5419, allocations: 1.318 MB / 1.462 GB, free: 4.469 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.5425, allocations: 384 kB / 1.462 GB, free: 4.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.5441, allocations: 0.7083 MB / 1.463 GB, free: 3.379 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.5454, allocations: 492.6 kB / 1.463 GB, free: 2.898 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5455, allocations: 48 kB / 1.463 GB, free: 2.852 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.5473, allocations: 0.9588 MB / 1.464 GB, free: 1.891 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.5476, allocations: 215.3 kB / 1.464 GB, free: 1.68 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.548, allocations: 330.5 kB / 1.465 GB, free: 1.355 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.5498, allocations: 1.141 MB / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.5498, allocations: 0 / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5498, allocations: 0 / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.5498, allocations: 0 / 1.466 GB, free: 216 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001865/0.5517, allocations: 0.8935 MB / 1.467 GB, free: 15.28 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5517, allocations: 12.03 kB / 1.467 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.5519, allocations: 82.53 kB / 1.467 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.5535, allocations: 271.3 kB / 1.467 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.5544, allocations: 442.5 kB / 1.467 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.5545, allocations: 29 kB / 1.467 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.5546, allocations: 44 kB / 1.468 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5559, allocations: 0.6107 MB / 1.468 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5559, allocations: 4 kB / 1.468 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.5559, allocations: 16 kB / 1.468 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.556, allocations: 21 kB / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.5574, allocations: 0.5425 MB / 1.469 GB, free: 13.17 MB / 1.17 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.004291/0.5617, allocations: 2.233 MB / 1.471 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009073/0.5626, allocations: 278.3 kB / 1.471 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.5631, allocations: 164.7 kB / 1.471 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.5631, allocations: 4 kB / 1.471 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5631, allocations: 38.56 kB / 1.471 GB, free: 10.32 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/0.5631, allocations: 0 / 1.471 GB, free: 10.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.004974/0.5681, allocations: 1.017 MB / 1.472 GB, free: 9.293 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.5682, allocations: 81.05 kB / 1.472 GB, free: 9.195 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.5689, allocations: 0.5573 MB / 1.473 GB, free: 8.629 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.569, allocations: 25.7 kB / 1.473 GB, free: 8.598 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.5692, allocations: 308 kB / 1.473 GB, free: 8.293 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.5692, allocations: 43.67 kB / 1.473 GB, free: 8.25 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.5694, allocations: 69.64 kB / 1.473 GB, free: 8.176 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5695, allocations: 346.8 kB / 1.474 GB, free: 7.828 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.5701, allocations: 191.8 kB / 1.474 GB, free: 7.641 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.5708, allocations: 267 kB / 1.474 GB, free: 7.348 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5718, allocations: 402.5 kB / 1.475 GB, free: 6.926 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.5719, allocations: 4 kB / 1.475 GB, free: 6.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002626/0.5745, allocations: 0.7346 MB / 1.475 GB, free: 6.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5745, allocations: 6.656 kB / 1.475 GB, free: 6.176 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.5745, allocations: 4 kB / 1.475 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.5752, allocations: 188.8 kB / 1.475 GB, free: 5.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.5755, allocations: 71.88 kB / 1.476 GB, free: 5.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.5795, allocations: 2.131 MB / 1.478 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.5801, allocations: 71.56 kB / 1.478 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.5802, allocations: 20 kB / 1.478 GB, free: 3.578 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.5805, allocations: 185.7 kB / 1.478 GB, free: 3.387 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5806, allocations: 55.67 kB / 1.478 GB, free: 3.332 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5807, allocations: 55.97 kB / 1.478 GB, free: 3.277 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5807, allocations: 4 kB / 1.478 GB, free: 3.273 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.5807, allocations: 192 / 1.478 GB, free: 3.273 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5807, allocations: 4 kB / 1.478 GB, free: 3.27 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.5838, allocations: 1.108 MB / 1.479 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5838, allocations: 0 / 1.479 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.584, allocations: 35.95 kB / 1.479 GB, free: 2.066 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005865/0.5846, allocations: 180.8 kB / 1.479 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.5846, allocations: 0 / 1.479 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.5883, allocations: 2.091 MB / 1.481 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5883, allocations: 0 / 1.481 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.5908, allocations: 0.7083 MB / 1.482 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.5911, allocations: 95.55 kB / 1.482 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.5912, allocations: 12 kB / 1.482 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.5917, allocations: 51.88 kB / 1.482 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.5918, allocations: 15.92 kB / 1.482 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.5919, allocations: 11.98 kB / 1.482 GB, free: 14.76 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004897/0.5923, allocations: 394.8 kB / 1.483 GB, free: 14.38 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5923, allocations: 0 / 1.483 GB, free: 14.38 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006242/0.593, allocations: 179.8 kB / 1.483 GB, free: 14.2 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003049/0.596, allocations: 1.3 MB / 1.484 GB, free: 12.86 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.5976, allocations: 0.5218 MB / 1.485 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5976, allocations: 0 / 1.485 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.5983, allocations: 291 kB / 1.485 GB, free: 12.03 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.5997, allocations: 309.6 kB / 1.485 GB, free: 11.74 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6111, allocations: 5.081 MB / 1.49 GB, free: 6.5 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.6117, allocations: 0.8659 MB / 1.491 GB, free: 5.605 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004423/0.6121, allocations: 104.5 kB / 1.491 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.6124, allocations: 167.4 kB / 1.491 GB, free: 5.336 MB / 1.186 GB Notification: Performance of SimCode: time 6.41e-07/0.6124, allocations: 3.938 kB / 1.491 GB, free: 5.332 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05152/0.6639, allocations: 17.17 MB / 1.508 GB, free: 4.477 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.42, allocations: 6.047 kB / 1.508 GB, free: 4.477 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.04819653499908]