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.001494/0.001494, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001702/0.001702, allocations: 218.8 kB / 22.25 MB, free: 5.258 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.785 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 2.971/2.971, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.001918/0.001918, allocations: 67.53 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3467, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1861/0.5328, allocations: 150.9 MB / 1.473 GB, free: 9.969 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006383/0.5392, allocations: 4.015 MB / 1.477 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.5396, allocations: 31.75 kB / 1.477 GB, free: 5.914 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.5406, allocations: 330 kB / 1.477 GB, free: 5.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.5428, allocations: 1.042 MB / 1.479 GB, free: 4.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.5448, allocations: 0.8293 MB / 1.479 GB, free: 3.719 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.5463, allocations: 1.317 MB / 1.481 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.5468, allocations: 380 kB / 1.481 GB, free: 2.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.548, allocations: 0.7434 MB / 1.482 GB, free: 1.27 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.5491, allocations: 476.8 kB / 1.482 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.738e-05/0.5491, allocations: 52 kB / 1.482 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5504, allocations: 0.7678 MB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.5506, allocations: 215.3 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.5509, allocations: 282.8 kB / 1.483 GB, free: 15.5 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.5523, allocations: 1.125 MB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5523, allocations: 0 / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5523, allocations: 0 / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5523, allocations: 0 / 1.485 GB, free: 14.37 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.001615/0.5539, allocations: 0.8974 MB / 1.485 GB, free: 13.44 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.554, allocations: 8.031 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.5541, allocations: 78.53 kB / 1.485 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.5556, allocations: 271.3 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000974/0.5566, allocations: 442.5 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.5566, allocations: 33 kB / 1.486 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.5567, allocations: 36 kB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.558, allocations: 0.8907 MB / 1.487 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5581, allocations: 0 / 1.487 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.5581, allocations: 24 kB / 1.487 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.5581, allocations: 21 kB / 1.487 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5595, allocations: 0.5425 MB / 1.488 GB, free: 10.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.00368/0.5632, allocations: 1.896 MB / 1.49 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008985/0.5641, allocations: 274.3 kB / 1.49 GB, free: 8.742 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.5646, allocations: 168.7 kB / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.5646, allocations: 0 / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.5647, allocations: 38.56 kB / 1.49 GB, free: 8.527 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.5647, allocations: 3.938 kB / 1.49 GB, free: 8.523 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.004732/0.5694, allocations: 1.017 MB / 1.491 GB, free: 7.496 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.5695, allocations: 81.33 kB / 1.491 GB, free: 7.398 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.5701, allocations: 0.5612 MB / 1.492 GB, free: 6.828 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.5702, allocations: 33.64 kB / 1.492 GB, free: 6.789 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.5704, allocations: 300.1 kB / 1.492 GB, free: 6.492 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.5705, allocations: 51.56 kB / 1.492 GB, free: 6.441 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.5706, allocations: 61.64 kB / 1.492 GB, free: 6.375 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5708, allocations: 354.8 kB / 1.492 GB, free: 6.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.5713, allocations: 191.8 kB / 1.493 GB, free: 5.832 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.572, allocations: 287 kB / 1.493 GB, free: 5.512 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.5731, allocations: 415.4 kB / 1.493 GB, free: 5.078 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5731, allocations: 0 / 1.493 GB, free: 5.078 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00255/0.5757, allocations: 0.728 MB / 1.494 GB, free: 4.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5757, allocations: 4 kB / 1.494 GB, free: 4.336 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5757, allocations: 4 kB / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/0.5763, allocations: 188.8 kB / 1.494 GB, free: 4.145 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.5767, allocations: 67.89 kB / 1.494 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.5806, allocations: 2.104 MB / 1.496 GB, free: 1.859 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.5812, allocations: 71.62 kB / 1.496 GB, free: 1.789 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.5812, allocations: 15.94 kB / 1.496 GB, free: 1.773 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.00028/0.5815, allocations: 193.8 kB / 1.496 GB, free: 1.574 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5816, allocations: 59.66 kB / 1.497 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.5817, allocations: 47.98 kB / 1.497 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5817, allocations: 4 kB / 1.497 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.5817, allocations: 0 / 1.497 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5817, allocations: 7.922 kB / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.5847, allocations: 1.042 MB / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5847, allocations: 0 / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5849, allocations: 44 kB / 1.498 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.5854, allocations: 176.7 kB / 1.498 GB, free: 140 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.5854, allocations: 7.984 kB / 1.498 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003563/0.589, allocations: 2.056 MB / 1.5 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.589, allocations: 0 / 1.5 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.5914, allocations: 0.7044 MB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5917, allocations: 95.55 kB / 1.501 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.5917, allocations: 4 kB / 1.501 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.5922, allocations: 57.09 kB / 1.501 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.5923, allocations: 15.91 kB / 1.501 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.5923, allocations: 15.98 kB / 1.501 GB, free: 13.04 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004972/0.5928, allocations: 394.8 kB / 1.501 GB, free: 12.66 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5928, allocations: 0 / 1.501 GB, free: 12.66 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006306/0.5935, allocations: 183.7 kB / 1.501 GB, free: 12.48 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.002788/0.5963, allocations: 1.3 MB / 1.503 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.5977, allocations: 0.5198 MB / 1.503 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5977, allocations: 0 / 1.503 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.5984, allocations: 295 kB / 1.503 GB, free: 10.31 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5998, allocations: 318.9 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.6106, allocations: 5.072 MB / 1.509 GB, free: 4.777 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.6109, allocations: 263.9 kB / 1.509 GB, free: 4.492 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003867/0.6113, allocations: 112.5 kB / 1.509 GB, free: 4.379 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.6115, allocations: 163.4 kB / 1.509 GB, free: 4.223 MB / 1.201 GB Notification: Performance of SimCode: time 7.72e-07/0.6115, allocations: 0 / 1.509 GB, free: 4.223 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05137/0.6629, allocations: 18.39 MB / 1.527 GB, free: 2.238 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.65, allocations: 4.062 kB / 1.527 GB, free: 2.234 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: 18.952776113001164]