Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001261/0.001261, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001399/0.001399, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 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 3.015/3.015, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.002124/0.002124, allocations: 70.06 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3053, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1841/0.4894, allocations: 150.9 MB / 1.511 GB, free: 6.633 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006504/0.4959, allocations: 4.029 MB / 1.515 GB, free: 2.594 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005773/0.4965, allocations: 27.75 kB / 1.515 GB, free: 2.566 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.4975, allocations: 334 kB / 1.515 GB, free: 2.238 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.4999, allocations: 1.046 MB / 1.516 GB, free: 1.188 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.502, allocations: 0.829 MB / 1.517 GB, free: 372 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.5037, allocations: 1.298 MB / 1.518 GB, free: 15.06 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.5044, allocations: 376 kB / 1.518 GB, free: 14.68 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.5058, allocations: 0.7471 MB / 1.519 GB, free: 13.94 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.507, allocations: 450.4 kB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.5071, allocations: 52 kB / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.5085, allocations: 0.7482 MB / 1.52 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.5088, allocations: 223.3 kB / 1.521 GB, free: 12.48 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.5092, allocations: 282.8 kB / 1.521 GB, free: 12.2 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.5108, allocations: 1.113 MB / 1.522 GB, free: 11.09 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5108, allocations: 4 kB / 1.522 GB, free: 11.08 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5108, allocations: 0 / 1.522 GB, free: 11.08 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.5108, allocations: 0 / 1.522 GB, free: 11.08 MB / 1.217 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.001783/0.5126, allocations: 0.8896 MB / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5126, allocations: 12.03 kB / 1.523 GB, free: 10.15 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.5127, allocations: 86.52 kB / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.5143, allocations: 259.4 kB / 1.523 GB, free: 9.801 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/0.5153, allocations: 438.5 kB / 1.524 GB, free: 9.348 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.5153, allocations: 29 kB / 1.524 GB, free: 9.32 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.5154, allocations: 40 kB / 1.524 GB, free: 9.281 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.5168, allocations: 0.8985 MB / 1.525 GB, free: 8.289 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5168, allocations: 4 kB / 1.525 GB, free: 8.285 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.5169, allocations: 23.92 kB / 1.525 GB, free: 8.262 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.5169, allocations: 28.91 kB / 1.525 GB, free: 8.234 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.5183, allocations: 0.5425 MB / 1.525 GB, free: 7.688 MB / 1.217 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.003979/0.5223, allocations: 1.903 MB / 1.527 GB, free: 5.715 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.5232, allocations: 274.3 kB / 1.527 GB, free: 5.438 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.5238, allocations: 164.7 kB / 1.527 GB, free: 5.273 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.5238, allocations: 0 / 1.527 GB, free: 5.273 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.5238, allocations: 42.55 kB / 1.527 GB, free: 5.223 MB / 1.217 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.5238, allocations: 0 / 1.527 GB, free: 5.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=11): time 0.004961/0.5288, allocations: 1.013 MB / 1.528 GB, free: 4.199 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.5288, allocations: 81.09 kB / 1.529 GB, free: 4.102 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.5295, allocations: 0.5573 MB / 1.529 GB, free: 3.535 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.5296, allocations: 29.7 kB / 1.529 GB, free: 3.5 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.5298, allocations: 308.1 kB / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.5299, allocations: 43.58 kB / 1.529 GB, free: 3.152 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.53, allocations: 61.66 kB / 1.529 GB, free: 3.086 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.5302, allocations: 358.8 kB / 1.53 GB, free: 2.727 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.5308, allocations: 187.8 kB / 1.53 GB, free: 2.543 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.5314, allocations: 303.4 kB / 1.53 GB, free: 2.207 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5326, allocations: 405.4 kB / 1.531 GB, free: 1.781 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5326, allocations: 3.938 kB / 1.531 GB, free: 1.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002617/0.5352, allocations: 0.7252 MB / 1.531 GB, free: 1.043 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5352, allocations: 7.984 kB / 1.531 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5352, allocations: 4 kB / 1.531 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.5359, allocations: 184.8 kB / 1.532 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.5362, allocations: 71.88 kB / 1.532 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.5402, allocations: 2.104 MB / 1.534 GB, free: 14.56 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.5407, allocations: 75.58 kB / 1.534 GB, free: 14.49 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.5408, allocations: 15.98 kB / 1.534 GB, free: 14.47 MB / 1.232 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.0002558/0.541, allocations: 196.3 kB / 1.534 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.5411, allocations: 47.72 kB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5412, allocations: 55.97 kB / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5412, allocations: 0 / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.5412, allocations: 0 / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5413, allocations: 0 / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.5443, allocations: 1.046 MB / 1.535 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.5443, allocations: 4 kB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.5446, allocations: 40.02 kB / 1.535 GB, free: 13.02 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.5451, allocations: 192.6 kB / 1.535 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5451, allocations: 0 / 1.535 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.5487, allocations: 2.06 MB / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5487, allocations: 0 / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.5512, allocations: 0.7004 MB / 1.538 GB, free: 9.934 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.5515, allocations: 91.66 kB / 1.538 GB, free: 9.844 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.5515, allocations: 4 kB / 1.538 GB, free: 9.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.5521, allocations: 55.88 kB / 1.538 GB, free: 9.785 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.5521, allocations: 11.98 kB / 1.538 GB, free: 9.773 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.5522, allocations: 11.98 kB / 1.538 GB, free: 9.762 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004875/0.5527, allocations: 394.8 kB / 1.539 GB, free: 9.379 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5527, allocations: 0 / 1.539 GB, free: 9.379 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000604/0.5533, allocations: 187.7 kB / 1.539 GB, free: 9.195 MB / 1.232 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.003005/0.5563, allocations: 1.3 MB / 1.54 GB, free: 7.855 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.5578, allocations: 0.5063 MB / 1.541 GB, free: 7.336 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5578, allocations: 4.375 kB / 1.541 GB, free: 7.332 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.5585, allocations: 302.5 kB / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5599, allocations: 310 kB / 1.541 GB, free: 6.723 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.5715, allocations: 5.084 MB / 1.546 GB, free: 1.488 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.5717, allocations: 264 kB / 1.546 GB, free: 1.203 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.5722, allocations: 100.5 kB / 1.546 GB, free: 1.102 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.5724, allocations: 167.4 kB / 1.547 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of SimCode: time 6.21e-07/0.5724, allocations: 0 / 1.547 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.6258, allocations: 18.32 MB / 1.564 GB, free: 15.02 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.01, allocations: 2.031 kB / 1.564 GB, free: 15.02 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.15273521002382]