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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 112.3 kB / 17.96 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 192.4 kB / 21.22 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 249.9 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.633/2.633, allocations: 476.7 MB / 0.7635 GB, free: 10.87 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.14 kB / 1.108 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7875, allocations: 168.7 MB / 1.272 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2041/0.9915, allocations: 171.8 MB / 1.44 GB, free: 8.117 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007125/0.9987, allocations: 4.312 MB / 1.444 GB, free: 3.797 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.9994, allocations: 23.88 kB / 1.444 GB, free: 3.773 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/1, allocations: 362 kB / 1.445 GB, free: 3.418 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/1.003, allocations: 1.034 MB / 1.446 GB, free: 2.379 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/1.005, allocations: 0.8364 MB / 1.447 GB, free: 1.547 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001867/1.007, allocations: 1.298 MB / 1.448 GB, free: 252 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000635/1.008, allocations: 375.4 kB / 1.448 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/1.009, allocations: 0.6966 MB / 1.449 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/1.01, allocations: 488.7 kB / 1.449 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/1.011, allocations: 52 kB / 1.449 GB, free: 14.65 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/1.012, allocations: 0.9432 MB / 1.45 GB, free: 13.7 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/1.013, allocations: 219.3 kB / 1.45 GB, free: 13.49 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003913/1.013, allocations: 330.5 kB / 1.451 GB, free: 13.16 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/1.015, allocations: 1.137 MB / 1.452 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.015, allocations: 0 / 1.452 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.353e-06/1.015, allocations: 3.938 kB / 1.452 GB, free: 12.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.015, allocations: 0 / 1.452 GB, free: 12.02 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.001752/1.017, allocations: 0.9689 MB / 1.453 GB, free: 11 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.017, allocations: 12.03 kB / 1.453 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/1.017, allocations: 86.52 kB / 1.453 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/1.019, allocations: 259.4 kB / 1.453 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009593/1.02, allocations: 0.4939 MB / 1.454 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/1.02, allocations: 37 kB / 1.454 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/1.02, allocations: 40 kB / 1.454 GB, free: 10.03 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.021, allocations: 0.6146 MB / 1.454 GB, free: 9.391 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.021, allocations: 4 kB / 1.454 GB, free: 9.387 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/1.021, allocations: 20 kB / 1.454 GB, free: 9.367 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/1.021, allocations: 24.98 kB / 1.454 GB, free: 9.344 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.022, allocations: 0.5386 MB / 1.455 GB, free: 8.805 MB / 1.154 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.004144/1.027, allocations: 2.281 MB / 1.457 GB, free: 6.395 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009315/1.028, allocations: 278.3 kB / 1.457 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/1.028, allocations: 168.7 kB / 1.458 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/1.028, allocations: 0 / 1.458 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.028, allocations: 38.56 kB / 1.458 GB, free: 5.898 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/1.028, allocations: 0 / 1.458 GB, free: 5.898 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005065/1.033, allocations: 1.08 MB / 1.459 GB, free: 4.789 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/1.033, allocations: 81.31 kB / 1.459 GB, free: 4.691 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/1.034, allocations: 0.5612 MB / 1.459 GB, free: 4.121 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/1.034, allocations: 29.7 kB / 1.459 GB, free: 4.086 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/1.034, allocations: 308 kB / 1.46 GB, free: 3.781 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/1.034, allocations: 43.69 kB / 1.46 GB, free: 3.738 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.035, allocations: 57.66 kB / 1.46 GB, free: 3.676 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.035, allocations: 362.7 kB / 1.46 GB, free: 3.312 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/1.035, allocations: 187.8 kB / 1.46 GB, free: 3.129 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/1.036, allocations: 277.2 kB / 1.461 GB, free: 2.824 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.037, allocations: 403 kB / 1.461 GB, free: 2.402 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.037, allocations: 4 kB / 1.461 GB, free: 2.398 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002642/1.04, allocations: 0.7266 MB / 1.462 GB, free: 1.664 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.04, allocations: 7.984 kB / 1.462 GB, free: 1.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.04, allocations: 4 kB / 1.462 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/1.041, allocations: 184.7 kB / 1.462 GB, free: 1.469 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/1.041, allocations: 75.88 kB / 1.462 GB, free: 1.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/1.045, allocations: 2.231 MB / 1.464 GB, free: 15.03 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/1.046, allocations: 75.58 kB / 1.464 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.046, allocations: 16 kB / 1.464 GB, free: 14.94 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.0002968/1.046, allocations: 192.7 kB / 1.464 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.046, allocations: 55.67 kB / 1.464 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/1.046, allocations: 47.98 kB / 1.464 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.046, allocations: 3.984 kB / 1.464 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/1.046, allocations: 4.188 kB / 1.464 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.046, allocations: 0 / 1.464 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/1.049, allocations: 1.137 MB / 1.466 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.049, allocations: 0 / 1.466 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/1.049, allocations: 39.95 kB / 1.466 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/1.05, allocations: 176.8 kB / 1.466 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/1.05, allocations: 15.92 kB / 1.466 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/1.054, allocations: 2.183 MB / 1.468 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.054, allocations: 3.938 kB / 1.468 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/1.056, allocations: 0.7045 MB / 1.469 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/1.056, allocations: 172.7 kB / 1.469 GB, free: 9.953 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/1.057, allocations: 8.094 kB / 1.469 GB, free: 9.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/1.057, allocations: 56.84 kB / 1.469 GB, free: 9.891 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/1.057, allocations: 7.984 kB / 1.469 GB, free: 9.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/1.057, allocations: 15.98 kB / 1.469 GB, free: 9.867 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004952/1.058, allocations: 394.8 kB / 1.469 GB, free: 9.484 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.058, allocations: 0 / 1.469 GB, free: 9.484 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006377/1.058, allocations: 179.8 kB / 1.469 GB, free: 9.309 MB / 1.17 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.003173/1.062, allocations: 1.322 MB / 1.471 GB, free: 7.957 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.063, allocations: 0.5101 MB / 1.471 GB, free: 7.434 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.063, allocations: 0 / 1.471 GB, free: 7.434 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000788/1.064, allocations: 302.9 kB / 1.471 GB, free: 7.125 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.065, allocations: 307.7 kB / 1.472 GB, free: 6.828 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.077, allocations: 5.085 MB / 1.477 GB, free: 1.582 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/1.078, allocations: 0.8621 MB / 1.478 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004702/1.078, allocations: 104.5 kB / 1.478 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/1.078, allocations: 163.4 kB / 1.478 GB, free: 436 kB / 1.17 GB Notification: Performance of SimCode: time 7.11e-07/1.078, allocations: 0 / 1.478 GB, free: 436 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/1.144, allocations: 16.98 MB / 1.494 GB, free: 15.75 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.57, allocations: 0 / 1.494 GB, free: 15.75 MB / 1.201 GB " [Timeout remaining time 286] (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_2/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: 19.520607399987057]