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.0007462/0.0007462, 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.0007712/0.0007712, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8485/0.8485, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.733/1.733, allocations: 389 MB / 0.633 GB, free: 12.69 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.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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.48e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.525/0.5251, allocations: 150.8 MB / 1.147 GB, free: 5.664 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005435/0.5305, allocations: 4.028 MB / 1.151 GB, free: 2.957 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008071/0.5313, allocations: 29.69 kB / 1.151 GB, free: 2.941 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5323, allocations: 339.8 kB / 1.151 GB, free: 2.758 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.5349, allocations: 1.071 MB / 1.152 GB, free: 2.164 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.537, allocations: 0.8517 MB / 1.153 GB, free: 1.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.5389, allocations: 1.337 MB / 1.154 GB, free: 1.102 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.5396, allocations: 370.3 kB / 1.155 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.5411, allocations: 0.8933 MB / 1.156 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.5422, allocations: 422.5 kB / 1.156 GB, free: 428 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.5423, allocations: 55.94 kB / 1.156 GB, free: 424 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.5438, allocations: 0.757 MB / 1.157 GB, free: 180 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.544, allocations: 228.6 kB / 1.157 GB, free: 68 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.5444, allocations: 235.5 kB / 1.157 GB, free: 15.98 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.5465, allocations: 1.174 MB / 1.158 GB, free: 15.58 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.5465, allocations: 0 / 1.158 GB, free: 15.58 MB / 1.026 GB Notification: Performance of FrontEnd: time 4.038e-06/0.5465, allocations: 0 / 1.158 GB, free: 15.58 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.586e-05/0.5465, allocations: 0 / 1.158 GB, free: 15.58 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001859/0.5484, allocations: 0.8928 MB / 1.159 GB, free: 14.96 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5484, allocations: 10.28 kB / 1.159 GB, free: 14.96 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.5485, allocations: 84.53 kB / 1.159 GB, free: 14.89 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5496, allocations: 266.1 kB / 1.16 GB, free: 14.84 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.5503, allocations: 435.4 kB / 1.16 GB, free: 14.55 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.5503, allocations: 30.53 kB / 1.16 GB, free: 14.54 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.5504, allocations: 46.7 kB / 1.16 GB, free: 14.52 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.5514, allocations: 0.8959 MB / 1.161 GB, free: 13.91 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5514, allocations: 1.438 kB / 1.161 GB, free: 13.91 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.5515, allocations: 20.67 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.5515, allocations: 26.64 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.5525, allocations: 0.5387 MB / 1.162 GB, free: 13.73 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.002712/0.5552, allocations: 1.893 MB / 1.163 GB, free: 12.6 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.5557, allocations: 277.2 kB / 1.164 GB, free: 12.52 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.556, allocations: 160.4 kB / 1.164 GB, free: 12.47 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5561, allocations: 1.531 kB / 1.164 GB, free: 12.47 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.5561, allocations: 41.64 kB / 1.164 GB, free: 12.43 MB / 1.026 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.5561, allocations: 0 / 1.164 GB, free: 12.43 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.002786/0.5589, allocations: 1.022 MB / 1.165 GB, free: 12.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.5589, allocations: 80.58 kB / 1.165 GB, free: 12.1 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.5595, allocations: 0.5568 MB / 1.165 GB, free: 11.84 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.5595, allocations: 26.89 kB / 1.166 GB, free: 11.81 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.5597, allocations: 312.4 kB / 1.166 GB, free: 11.56 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.5598, allocations: 35.91 kB / 1.166 GB, free: 11.53 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.5599, allocations: 66.97 kB / 1.166 GB, free: 11.49 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.56, allocations: 356.9 kB / 1.166 GB, free: 11.16 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.5603, allocations: 192 kB / 1.166 GB, free: 11.11 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.5607, allocations: 289 kB / 1.167 GB, free: 10.94 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.5614, allocations: 416.9 kB / 1.167 GB, free: 10.75 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5614, allocations: 0 / 1.167 GB, free: 10.75 MB / 1.026 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001557/0.5629, allocations: 0.7207 MB / 1.168 GB, free: 10.54 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.563, allocations: 9.719 kB / 1.168 GB, free: 10.54 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.563, allocations: 6.312 kB / 1.168 GB, free: 10.53 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.5634, allocations: 185.3 kB / 1.168 GB, free: 10.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.5636, allocations: 70.95 kB / 1.168 GB, free: 10.48 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.5661, allocations: 2.099 MB / 1.17 GB, free: 8.938 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.5666, allocations: 80.84 kB / 1.17 GB, free: 8.902 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5666, allocations: 13.61 kB / 1.17 GB, free: 8.898 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 (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.0002675/0.5669, allocations: 186.3 kB / 1.17 GB, free: 8.75 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.567, allocations: 49 kB / 1.17 GB, free: 8.727 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.567, allocations: 57.58 kB / 1.17 GB, free: 8.691 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.567, allocations: 0.8438 kB / 1.17 GB, free: 8.691 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.567, allocations: 1.719 kB / 1.17 GB, free: 8.691 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.567, allocations: 8.734 kB / 1.171 GB, free: 8.684 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.5689, allocations: 1.044 MB / 1.172 GB, free: 8.188 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5689, allocations: 1.656 kB / 1.172 GB, free: 8.188 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.569, allocations: 36.44 kB / 1.172 GB, free: 8.188 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.5694, allocations: 177.7 kB / 1.172 GB, free: 8.145 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5694, allocations: 10.45 kB / 1.172 GB, free: 8.141 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.5717, allocations: 2.055 MB / 1.174 GB, free: 6.613 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5717, allocations: 0 / 1.174 GB, free: 6.613 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.5732, allocations: 0.7086 MB / 1.174 GB, free: 6.316 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.5734, allocations: 90.41 kB / 1.175 GB, free: 6.273 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.5735, allocations: 5.625 kB / 1.175 GB, free: 6.273 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.5738, allocations: 50.02 kB / 1.175 GB, free: 6.266 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.5738, allocations: 15.03 kB / 1.175 GB, free: 6.262 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.5739, allocations: 16.59 kB / 1.175 GB, free: 6.258 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004054/0.5743, allocations: 394.1 kB / 1.175 GB, free: 6.082 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.5743, allocations: 0 / 1.175 GB, free: 6.082 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005425/0.5748, allocations: 188.7 kB / 1.175 GB, free: 6.051 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 (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.001684/0.5765, allocations: 1.305 MB / 1.176 GB, free: 5.211 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0009567/0.5774, allocations: 0.5154 MB / 1.177 GB, free: 4.992 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5774, allocations: 0.875 kB / 1.177 GB, free: 4.992 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.5778, allocations: 297.7 kB / 1.177 GB, free: 4.832 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009061/0.5787, allocations: 305.9 kB / 1.178 GB, free: 4.746 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/0.5858, allocations: 5.061 MB / 1.182 GB, free: 2.238 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.586, allocations: 260.8 kB / 1.183 GB, free: 2.129 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0004113/0.5865, allocations: 109 kB / 1.183 GB, free: 2.098 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5866, allocations: 163.3 kB / 1.183 GB, free: 1.98 MB / 1.026 GB Notification: Performance of SimCode: time 1.012e-06/0.5866, allocations: 0 / 1.183 GB, free: 1.98 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.6261, allocations: 18.37 MB / 1.201 GB, free: 10.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.343, allocations: 2.188 kB / 1.201 GB, free: 10.27 MB / 1.042 GB " [Timeout remaining time 292] (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/jenkins/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: 12.338775495067239]