Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001726/0.001726, allocations: 109.8 kB / 16.46 MB, free: 6.508 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.002201/0.002201, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7672 GB, free: 5.191 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.002155/0.002155, allocations: 67.91 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2511/1.366, allocations: 174.5 MB / 1.449 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008195/1.374, allocations: 4.309 MB / 1.453 GB, free: 9.984 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/1.375, allocations: 27.75 kB / 1.453 GB, free: 9.957 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/1.376, allocations: 373.9 kB / 1.453 GB, free: 9.59 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003038/1.38, allocations: 1.023 MB / 1.454 GB, free: 8.562 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/1.382, allocations: 0.8258 MB / 1.455 GB, free: 7.742 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002285/1.384, allocations: 1.298 MB / 1.456 GB, free: 6.441 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008897/1.385, allocations: 411.3 kB / 1.457 GB, free: 6.031 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/1.387, allocations: 0.7123 MB / 1.457 GB, free: 5.316 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/1.389, allocations: 475.8 kB / 1.458 GB, free: 4.852 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.389, allocations: 52 kB / 1.458 GB, free: 4.801 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/1.391, allocations: 0.9471 MB / 1.459 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/1.391, allocations: 211.3 kB / 1.459 GB, free: 3.645 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/1.392, allocations: 330.5 kB / 1.459 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/1.394, allocations: 1.145 MB / 1.46 GB, free: 2.172 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.394, allocations: 0 / 1.46 GB, free: 2.172 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.114e-06/1.394, allocations: 4 kB / 1.46 GB, free: 2.168 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.326e-05/1.394, allocations: 0 / 1.46 GB, free: 2.168 MB / 1.154 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.002278/1.396, allocations: 0.9688 MB / 1.461 GB, free: 1.148 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.396, allocations: 8.031 kB / 1.461 GB, free: 1.141 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/1.396, allocations: 86.52 kB / 1.461 GB, free: 1.047 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/1.398, allocations: 267.4 kB / 1.462 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.4, allocations: 0.5016 MB / 1.462 GB, free: 248 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/1.4, allocations: 29 kB / 1.462 GB, free: 220 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/1.4, allocations: 40 kB / 1.462 GB, free: 180 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/1.401, allocations: 0.6185 MB / 1.463 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.401, allocations: 0 / 1.463 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/1.401, allocations: 16 kB / 1.463 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/1.401, allocations: 17 kB / 1.463 GB, free: 15.5 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/1.403, allocations: 0.5464 MB / 1.463 GB, free: 14.95 MB / 1.17 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.004991/1.408, allocations: 2.28 MB / 1.466 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.409, allocations: 266.4 kB / 1.466 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/1.409, allocations: 172.6 kB / 1.466 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/1.409, allocations: 3.938 kB / 1.466 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.409, allocations: 34.56 kB / 1.466 GB, free: 12.05 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 2.756e-06/1.409, allocations: 3.938 kB / 1.466 GB, free: 12.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.005769/1.415, allocations: 1.092 MB / 1.467 GB, free: 10.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/1.415, allocations: 85.05 kB / 1.467 GB, free: 10.83 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/1.416, allocations: 0.5534 MB / 1.468 GB, free: 10.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/1.416, allocations: 33.7 kB / 1.468 GB, free: 10.23 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.417, allocations: 300.1 kB / 1.468 GB, free: 9.93 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/1.417, allocations: 43.69 kB / 1.468 GB, free: 9.887 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.417, allocations: 57.66 kB / 1.468 GB, free: 9.824 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.417, allocations: 358.8 kB / 1.469 GB, free: 9.465 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/1.418, allocations: 191.8 kB / 1.469 GB, free: 9.277 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007401/1.418, allocations: 262.5 kB / 1.469 GB, free: 8.988 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.42, allocations: 407 kB / 1.469 GB, free: 8.562 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.42, allocations: 0 / 1.469 GB, free: 8.562 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003049/1.423, allocations: 0.7358 MB / 1.47 GB, free: 7.816 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.423, allocations: 8 kB / 1.47 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.423, allocations: 0 / 1.47 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/1.423, allocations: 188.8 kB / 1.47 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/1.424, allocations: 67.89 kB / 1.47 GB, free: 7.555 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004807/1.429, allocations: 2.236 MB / 1.473 GB, free: 5.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/1.429, allocations: 75.62 kB / 1.473 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.429, allocations: 15.98 kB / 1.473 GB, free: 5.094 MB / 1.17 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.0003714/1.43, allocations: 190.3 kB / 1.473 GB, free: 4.898 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.43, allocations: 51.67 kB / 1.473 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/1.43, allocations: 51.97 kB / 1.473 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.43, allocations: 8 kB / 1.473 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/1.43, allocations: 0 / 1.473 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.43, allocations: 0 / 1.473 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/1.433, allocations: 1.129 MB / 1.474 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.433, allocations: 0 / 1.474 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.434, allocations: 35.95 kB / 1.474 GB, free: 3.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006124/1.434, allocations: 188.8 kB / 1.474 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.434, allocations: 3.938 kB / 1.474 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004435/1.439, allocations: 2.192 MB / 1.476 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.439, allocations: 4.031 kB / 1.476 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/1.442, allocations: 0.7004 MB / 1.477 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/1.442, allocations: 172.7 kB / 1.477 GB, free: 116 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/1.442, allocations: 4 kB / 1.477 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/1.443, allocations: 51.88 kB / 1.477 GB, free: 60 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/1.443, allocations: 11.98 kB / 1.477 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/1.443, allocations: 11.98 kB / 1.477 GB, free: 36 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006027/1.443, allocations: 398.9 kB / 1.478 GB, free: 15.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.443, allocations: 3.938 kB / 1.478 GB, free: 15.64 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007736/1.444, allocations: 179.8 kB / 1.478 GB, free: 15.46 MB / 1.186 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.003385/1.448, allocations: 1.307 MB / 1.479 GB, free: 14.13 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.449, allocations: 0.5179 MB / 1.48 GB, free: 13.6 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.449, allocations: 0 / 1.48 GB, free: 13.6 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008072/1.45, allocations: 291 kB / 1.48 GB, free: 13.3 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.452, allocations: 321.4 kB / 1.48 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.464, allocations: 5.081 MB / 1.485 GB, free: 7.754 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/1.465, allocations: 0.8697 MB / 1.486 GB, free: 6.855 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005756/1.466, allocations: 108.5 kB / 1.486 GB, free: 6.746 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/1.466, allocations: 163.4 kB / 1.486 GB, free: 6.586 MB / 1.186 GB Notification: Performance of SimCode: time 1.553e-06/1.466, allocations: 0 / 1.486 GB, free: 6.586 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06194/1.528, allocations: 16.96 MB / 1.503 GB, free: 5.992 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.87, allocations: 4 kB / 1.503 GB, free: 5.988 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.222084001870826]