Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001412/0.001412, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001591/0.001591, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 0.49 GB / 0.7951 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_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.001815/0.001815, allocations: 67.56 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2707, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1795/0.4502, allocations: 174.7 MB / 1.497 GB, free: 2.578 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006199/0.4564, allocations: 4.329 MB / 1.501 GB, free: 14.24 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.4569, allocations: 31.75 kB / 1.501 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009121/0.4578, allocations: 369.9 kB / 1.501 GB, free: 13.85 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.46, allocations: 1.038 MB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.462, allocations: 0.844 MB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.4637, allocations: 1.317 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.4642, allocations: 376 kB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.4656, allocations: 0.7434 MB / 1.505 GB, free: 9.52 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.4667, allocations: 480 kB / 1.506 GB, free: 9.051 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.72e-05/0.4668, allocations: 52 kB / 1.506 GB, free: 9 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.4684, allocations: 0.9471 MB / 1.507 GB, free: 8.051 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.4686, allocations: 219.3 kB / 1.507 GB, free: 7.836 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.469, allocations: 330.5 kB / 1.507 GB, free: 7.512 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.4706, allocations: 1.148 MB / 1.508 GB, free: 6.359 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4706, allocations: 0 / 1.508 GB, free: 6.359 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4706, allocations: 0 / 1.508 GB, free: 6.359 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.4706, allocations: 0 / 1.508 GB, free: 6.359 MB / 1.201 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.001644/0.4722, allocations: 0.8951 MB / 1.509 GB, free: 5.434 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4723, allocations: 8.031 kB / 1.509 GB, free: 5.426 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.62e-05/0.4724, allocations: 82.53 kB / 1.509 GB, free: 5.336 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.4739, allocations: 271.2 kB / 1.51 GB, free: 5.07 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.4748, allocations: 438.5 kB / 1.51 GB, free: 4.613 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.4748, allocations: 33 kB / 1.51 GB, free: 4.582 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.4749, allocations: 39.98 kB / 1.51 GB, free: 4.543 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.4761, allocations: 0.6146 MB / 1.511 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4761, allocations: 0 / 1.511 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.4762, allocations: 27.98 kB / 1.511 GB, free: 3.875 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.4762, allocations: 17 kB / 1.511 GB, free: 3.859 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.4775, allocations: 0.5464 MB / 1.511 GB, free: 3.312 MB / 1.201 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.003916/0.4814, allocations: 2.221 MB / 1.513 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.4823, allocations: 274.3 kB / 1.514 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.4828, allocations: 168.7 kB / 1.514 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.4828, allocations: 4 kB / 1.514 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.4828, allocations: 38.55 kB / 1.514 GB, free: 492 kB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4828, allocations: 0 / 1.514 GB, free: 492 kB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.004923/0.4877, allocations: 1.009 MB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.4878, allocations: 89.09 kB / 1.515 GB, free: 15.36 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.4884, allocations: 0.5496 MB / 1.516 GB, free: 14.8 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.4885, allocations: 33.7 kB / 1.516 GB, free: 14.76 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.4887, allocations: 308 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.4887, allocations: 39.69 kB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4888, allocations: 57.66 kB / 1.516 GB, free: 14.35 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.489, allocations: 358.8 kB / 1.516 GB, free: 13.99 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.4895, allocations: 191.8 kB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.4901, allocations: 265.2 kB / 1.517 GB, free: 13.51 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4912, allocations: 410.9 kB / 1.517 GB, free: 13.08 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4912, allocations: 0 / 1.517 GB, free: 13.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002478/0.4937, allocations: 0.7337 MB / 1.518 GB, free: 12.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4937, allocations: 13.23 kB / 1.518 GB, free: 12.33 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4937, allocations: 0 / 1.518 GB, free: 12.33 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.4943, allocations: 180.8 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.4946, allocations: 71.88 kB / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.4983, allocations: 2.138 MB / 1.52 GB, free: 9.824 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.4989, allocations: 75.69 kB / 1.52 GB, free: 9.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4989, allocations: 8 kB / 1.52 GB, free: 9.742 MB / 1.217 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.0002496/0.4992, allocations: 189.8 kB / 1.52 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.4993, allocations: 59.66 kB / 1.52 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.762e-05/0.4994, allocations: 51.98 kB / 1.521 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4994, allocations: 3.938 kB / 1.521 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4994, allocations: 0 / 1.521 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4994, allocations: 3.984 kB / 1.521 GB, free: 9.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.5022, allocations: 1.105 MB / 1.522 GB, free: 8.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5022, allocations: 0 / 1.522 GB, free: 8.266 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.5025, allocations: 48.2 kB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.503, allocations: 180.6 kB / 1.522 GB, free: 8.039 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.503, allocations: 15.98 kB / 1.522 GB, free: 8.023 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.5065, allocations: 2.08 MB / 1.524 GB, free: 5.828 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5065, allocations: 0 / 1.524 GB, free: 5.828 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.5088, allocations: 0.6927 MB / 1.525 GB, free: 5.109 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.5091, allocations: 99.55 kB / 1.525 GB, free: 5.012 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.5091, allocations: 0 / 1.525 GB, free: 5.012 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.5097, allocations: 57.5 kB / 1.525 GB, free: 4.957 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.5097, allocations: 7.984 kB / 1.525 GB, free: 4.949 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.5097, allocations: 16.17 kB / 1.525 GB, free: 4.934 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004459/0.5102, allocations: 402.8 kB / 1.525 GB, free: 4.543 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5102, allocations: 0 / 1.525 GB, free: 4.543 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005932/0.5108, allocations: 183.7 kB / 1.525 GB, free: 4.363 MB / 1.217 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.002807/0.5136, allocations: 1.304 MB / 1.527 GB, free: 3.02 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.515, allocations: 0.5141 MB / 1.527 GB, free: 2.492 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.515, allocations: 4 kB / 1.527 GB, free: 2.488 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.5157, allocations: 302.9 kB / 1.527 GB, free: 2.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.517, allocations: 309.5 kB / 1.528 GB, free: 1.879 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.5276, allocations: 5.078 MB / 1.533 GB, free: 12.65 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.5281, allocations: 0.8582 MB / 1.533 GB, free: 11.77 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003602/0.5284, allocations: 104.5 kB / 1.534 GB, free: 11.66 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.5286, allocations: 163.4 kB / 1.534 GB, free: 11.5 MB / 1.232 GB Notification: Performance of SimCode: time 6.31e-07/0.5286, allocations: 0 / 1.534 GB, free: 11.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.579, allocations: 17.19 MB / 1.55 GB, free: 10.62 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.66, allocations: 1.719 kB / 1.55 GB, free: 10.62 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.679171988000235]