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.001226/0.001226, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001394/0.001394, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.02/3.02, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.001973/0.001973, allocations: 68.38 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1805/0.4998, allocations: 150.9 MB / 1.472 GB, free: 10.92 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006489/0.5063, allocations: 4.023 MB / 1.476 GB, free: 6.891 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.5069, allocations: 31.75 kB / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009532/0.5079, allocations: 326 kB / 1.477 GB, free: 6.539 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.5102, allocations: 1.042 MB / 1.478 GB, free: 5.492 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.5122, allocations: 0.8245 MB / 1.479 GB, free: 4.672 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.5137, allocations: 1.312 MB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.5143, allocations: 375.9 kB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.5155, allocations: 0.7434 MB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.5165, allocations: 452.3 kB / 1.481 GB, free: 1.793 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.5166, allocations: 52 kB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.5178, allocations: 0.7482 MB / 1.482 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.5181, allocations: 215.3 kB / 1.482 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.5184, allocations: 278.8 kB / 1.483 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.5198, allocations: 1.125 MB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5198, allocations: 0 / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5198, allocations: 0 / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.5198, allocations: 0 / 1.484 GB, free: 15.38 MB / 1.186 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.001599/0.5214, allocations: 0.8974 MB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5214, allocations: 8.031 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.5215, allocations: 86.52 kB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.523, allocations: 267.3 kB / 1.485 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.5239, allocations: 434.6 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.524, allocations: 33 kB / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.524, allocations: 39.94 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.5254, allocations: 0.9024 MB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5254, allocations: 0 / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.5255, allocations: 16 kB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.5255, allocations: 24.98 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.5269, allocations: 0.5425 MB / 1.487 GB, free: 11.98 MB / 1.186 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.003729/0.5306, allocations: 1.903 MB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.5315, allocations: 262.4 kB / 1.489 GB, free: 9.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.5321, allocations: 172.6 kB / 1.489 GB, free: 9.578 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.5321, allocations: 4 kB / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5321, allocations: 34.56 kB / 1.489 GB, free: 9.531 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.5321, allocations: 0 / 1.489 GB, free: 9.531 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.004942/0.5371, allocations: 1.017 MB / 1.49 GB, free: 8.504 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.5371, allocations: 85.05 kB / 1.49 GB, free: 8.402 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.5378, allocations: 0.5612 MB / 1.491 GB, free: 7.832 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.5378, allocations: 25.7 kB / 1.491 GB, free: 7.801 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.538, allocations: 308.1 kB / 1.491 GB, free: 7.496 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.5381, allocations: 43.62 kB / 1.491 GB, free: 7.453 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.5382, allocations: 61.66 kB / 1.491 GB, free: 7.387 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.5384, allocations: 354.8 kB / 1.492 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.5389, allocations: 183.8 kB / 1.492 GB, free: 6.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.5396, allocations: 299 kB / 1.492 GB, free: 6.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5407, allocations: 407.8 kB / 1.492 GB, free: 6.094 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5407, allocations: 4 kB / 1.492 GB, free: 6.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002566/0.5433, allocations: 0.728 MB / 1.493 GB, free: 5.352 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5433, allocations: 6.031 kB / 1.493 GB, free: 5.348 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5433, allocations: 7.938 kB / 1.493 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.544, allocations: 184.8 kB / 1.493 GB, free: 5.156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.5443, allocations: 71.88 kB / 1.493 GB, free: 5.086 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.5482, allocations: 2.103 MB / 1.495 GB, free: 2.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.5488, allocations: 71.62 kB / 1.495 GB, free: 2.797 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.5488, allocations: 15.98 kB / 1.495 GB, free: 2.781 MB / 1.186 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.0002439/0.549, allocations: 193.7 kB / 1.496 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.5491, allocations: 55.67 kB / 1.496 GB, free: 2.527 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.5492, allocations: 55.97 kB / 1.496 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5492, allocations: 0 / 1.496 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.5492, allocations: 7.938 kB / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5492, allocations: 0 / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.5522, allocations: 1.046 MB / 1.497 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5522, allocations: 0 / 1.497 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.5524, allocations: 44.02 kB / 1.497 GB, free: 1.316 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/0.553, allocations: 176.7 kB / 1.497 GB, free: 1.141 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.553, allocations: 4 kB / 1.497 GB, free: 1.137 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/0.5566, allocations: 2.064 MB / 1.499 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5566, allocations: 0 / 1.499 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.559, allocations: 0.7008 MB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.5592, allocations: 91.61 kB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.5593, allocations: 8 kB / 1.5 GB, free: 14.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.5599, allocations: 51.88 kB / 1.5 GB, free: 14.08 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.5599, allocations: 15.92 kB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.56, allocations: 11.98 kB / 1.5 GB, free: 14.05 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004601/0.5604, allocations: 394.8 kB / 1.5 GB, free: 13.67 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5604, allocations: 0 / 1.5 GB, free: 13.67 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006055/0.561, allocations: 183.7 kB / 1.5 GB, free: 13.49 MB / 1.201 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.002966/0.564, allocations: 1.305 MB / 1.502 GB, free: 12.15 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.5655, allocations: 0.5158 MB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5655, allocations: 0 / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.5663, allocations: 299 kB / 1.502 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5677, allocations: 308 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.5792, allocations: 5.077 MB / 1.508 GB, free: 5.789 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5795, allocations: 267.9 kB / 1.508 GB, free: 5.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004305/0.5799, allocations: 108.5 kB / 1.508 GB, free: 5.391 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.5802, allocations: 163.4 kB / 1.508 GB, free: 5.234 MB / 1.201 GB Notification: Performance of SimCode: time 6.61e-07/0.5802, allocations: 0 / 1.508 GB, free: 5.234 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/0.6332, allocations: 18.3 MB / 1.526 GB, free: 3.34 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.86, allocations: 7.312 kB / 1.526 GB, free: 3.336 MB / 1.217 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: 19.16165012307465]