Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.0007826/0.0007826, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007522/0.0007522, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8166/0.8166, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.677/1.677, allocations: 389 MB / 0.633 GB, free: 12.7 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.082e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5213/0.5213, allocations: 150.9 MB / 1.147 GB, free: 5.566 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.5264, allocations: 4.035 MB / 1.151 GB, free: 2.848 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.5271, allocations: 26.75 kB / 1.151 GB, free: 2.836 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.5279, allocations: 339.3 kB / 1.151 GB, free: 2.66 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.5306, allocations: 1.316 MB / 1.153 GB, free: 1.926 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.5324, allocations: 0.8368 MB / 1.153 GB, free: 1.48 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.5345, allocations: 1.755 MB / 1.155 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006583/0.5351, allocations: 444.4 kB / 1.156 GB, free: 460 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.5366, allocations: 0.9883 MB / 1.156 GB, free: 12 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.5379, allocations: 0.5215 MB / 1.157 GB, free: 15.84 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.5381, allocations: 65.22 kB / 1.157 GB, free: 15.84 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.5394, allocations: 0.6701 MB / 1.158 GB, free: 15.61 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.5397, allocations: 292.5 kB / 1.158 GB, free: 15.47 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.5401, allocations: 294.4 kB / 1.158 GB, free: 15.36 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.5419, allocations: 1.297 MB / 1.16 GB, free: 14.91 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5419, allocations: 1.125 kB / 1.16 GB, free: 14.91 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5419, allocations: 3.938 kB / 1.16 GB, free: 14.91 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.5419, allocations: 0 / 1.16 GB, free: 14.91 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001776/0.5437, allocations: 0.9772 MB / 1.161 GB, free: 14.26 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5437, allocations: 10.5 kB / 1.161 GB, free: 14.26 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.5438, allocations: 100.1 kB / 1.161 GB, free: 14.18 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.5445, allocations: 163.2 kB / 1.161 GB, free: 14.14 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.5452, allocations: 491.8 kB / 1.161 GB, free: 13.82 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.5452, allocations: 42.28 kB / 1.161 GB, free: 13.8 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.5453, allocations: 55.31 kB / 1.161 GB, free: 13.78 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/0.5463, allocations: 0.9989 MB / 1.162 GB, free: 13.07 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5463, allocations: 11.02 kB / 1.162 GB, free: 13.07 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.5463, allocations: 30.59 kB / 1.162 GB, free: 13.04 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.5464, allocations: 23.5 kB / 1.162 GB, free: 13.04 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.5471, allocations: 0.5069 MB / 1.163 GB, free: 12.88 MB / 1.026 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.002365/0.5494, allocations: 1.658 MB / 1.164 GB, free: 11.97 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.5498, allocations: 242.6 kB / 1.165 GB, free: 11.87 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.55, allocations: 124.7 kB / 1.165 GB, free: 11.83 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.55, allocations: 3.797 kB / 1.165 GB, free: 11.83 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.55, allocations: 38.53 kB / 1.165 GB, free: 11.79 MB / 1.026 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.55, allocations: 0 / 1.165 GB, free: 11.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=20): time 0.001082/0.5511, allocations: 0.5228 MB / 1.165 GB, free: 11.59 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5512, allocations: 80.28 kB / 1.165 GB, free: 11.49 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.5517, allocations: 0.5673 MB / 1.166 GB, free: 11.23 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.5518, allocations: 33.02 kB / 1.166 GB, free: 11.2 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.552, allocations: 344.6 kB / 1.166 GB, free: 10.92 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.552, allocations: 75.02 kB / 1.166 GB, free: 10.86 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.5521, allocations: 68.55 kB / 1.167 GB, free: 10.82 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5522, allocations: 359.5 kB / 1.167 GB, free: 10.48 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.5524, allocations: 134 kB / 1.167 GB, free: 10.44 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.5527, allocations: 241.9 kB / 1.167 GB, free: 10.27 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.553, allocations: 331.7 kB / 1.168 GB, free: 10.09 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.553, allocations: 1.25 kB / 1.168 GB, free: 10.09 MB / 1.026 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006675/0.5537, allocations: 0.4922 MB / 1.168 GB, free: 9.871 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5537, allocations: 6.344 kB / 1.168 GB, free: 9.871 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5537, allocations: 2.938 kB / 1.168 GB, free: 9.871 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.554, allocations: 93.77 kB / 1.168 GB, free: 9.836 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5542, allocations: 73.36 kB / 1.168 GB, free: 9.828 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.5565, allocations: 3.12 MB / 1.171 GB, free: 7.066 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.5569, allocations: 52.92 kB / 1.171 GB, free: 7.031 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.5569, allocations: 14.69 kB / 1.171 GB, free: 7.027 MB / 1.026 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002968/0.5572, allocations: 222.7 kB / 1.171 GB, free: 6.855 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.5573, allocations: 58.16 kB / 1.172 GB, free: 6.828 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.5573, allocations: 55.56 kB / 1.172 GB, free: 6.793 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5573, allocations: 3.469 kB / 1.172 GB, free: 6.793 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5573, allocations: 0 / 1.172 GB, free: 6.793 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000469/0.5578, allocations: 0.5396 MB / 1.172 GB, free: 6.355 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.5588, allocations: 0.8192 MB / 1.173 GB, free: 5.871 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5588, allocations: 1.703 kB / 1.173 GB, free: 5.871 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.5589, allocations: 44.62 kB / 1.173 GB, free: 5.867 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.559, allocations: 69.45 kB / 1.173 GB, free: 5.84 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5591, allocations: 3.109 kB / 1.173 GB, free: 5.84 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.5602, allocations: 1.7 MB / 1.175 GB, free: 4.406 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5602, allocations: 9.031 kB / 1.175 GB, free: 4.398 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.5607, allocations: 439.3 kB / 1.175 GB, free: 4.137 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.5609, allocations: 95.41 kB / 1.175 GB, free: 4.086 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.5609, allocations: 10.86 kB / 1.175 GB, free: 4.078 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5612, allocations: 19.33 kB / 1.175 GB, free: 4.074 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.5612, allocations: 20.75 kB / 1.175 GB, free: 4.07 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.5613, allocations: 16.19 kB / 1.175 GB, free: 4.066 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003977/0.5617, allocations: 400.9 kB / 1.176 GB, free: 3.887 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5617, allocations: 4 kB / 1.176 GB, free: 3.883 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0006297/0.5623, allocations: 205 kB / 1.176 GB, free: 3.852 MB / 1.026 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007929/0.5631, allocations: 1.009 MB / 1.177 GB, free: 3.055 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.5638, allocations: 0.5249 MB / 1.177 GB, free: 2.727 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5638, allocations: 5.312 kB / 1.177 GB, free: 2.723 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.564, allocations: 246.8 kB / 1.178 GB, free: 2.566 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5651, allocations: 379.7 kB / 1.178 GB, free: 2.461 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.57, allocations: 4.449 MB / 1.182 GB, free: 15.95 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5703, allocations: 312.7 kB / 1.183 GB, free: 15.82 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004506/0.5708, allocations: 106.3 kB / 1.183 GB, free: 15.8 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.571, allocations: 191.1 kB / 1.183 GB, free: 15.66 MB / 1.042 GB Notification: Performance of SimCode: time 1.352e-06/0.571, allocations: 1.438 kB / 1.183 GB, free: 15.66 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.6076, allocations: 19.58 MB / 1.202 GB, free: 8.453 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.154, allocations: 6.75 kB / 1.202 GB, free: 8.449 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_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_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.058420185931027]