Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001469/0.001469, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001638/0.001638, allocations: 217 kB / 22.25 MB, free: 5.082 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.307/1.307, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.885/2.885, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001888/0.001888, allocations: 69.03 kB / 1.177 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3015, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1868/0.4883, allocations: 174.7 MB / 1.523 GB, free: 9.074 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006966/0.4953, allocations: 4.329 MB / 1.528 GB, free: 4.738 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.4959, allocations: 27.75 kB / 1.528 GB, free: 4.711 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.4968, allocations: 366 kB / 1.528 GB, free: 4.352 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.4992, allocations: 1.046 MB / 1.529 GB, free: 3.301 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.5011, allocations: 0.8521 MB / 1.53 GB, free: 2.453 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.5027, allocations: 1.309 MB / 1.531 GB, free: 1.141 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.5032, allocations: 376 kB / 1.532 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.5044, allocations: 0.7434 MB / 1.532 GB, free: 24 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.5053, allocations: 473.3 kB / 1.533 GB, free: 15.56 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.5054, allocations: 52 kB / 1.533 GB, free: 15.51 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.5069, allocations: 0.9549 MB / 1.534 GB, free: 14.55 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.5071, allocations: 211.4 kB / 1.534 GB, free: 14.35 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.5074, allocations: 334.5 kB / 1.534 GB, free: 14.02 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.5087, allocations: 1.141 MB / 1.535 GB, free: 12.88 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5088, allocations: 4 kB / 1.535 GB, free: 12.87 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5088, allocations: 4 kB / 1.535 GB, free: 12.87 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.5088, allocations: 0 / 1.535 GB, free: 12.87 MB / 1.232 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.001485/0.5103, allocations: 0.8935 MB / 1.536 GB, free: 11.94 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5103, allocations: 12.03 kB / 1.536 GB, free: 11.93 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/0.5104, allocations: 82.52 kB / 1.536 GB, free: 11.84 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.5119, allocations: 267.3 kB / 1.537 GB, free: 11.57 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.5127, allocations: 438.5 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.5127, allocations: 33 kB / 1.537 GB, free: 11.09 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.5128, allocations: 40 kB / 1.537 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.514, allocations: 0.6107 MB / 1.538 GB, free: 10.42 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.514, allocations: 3.938 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.514, allocations: 20 kB / 1.538 GB, free: 10.39 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.5141, allocations: 21 kB / 1.538 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.5154, allocations: 0.5503 MB / 1.538 GB, free: 9.824 MB / 1.232 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.003761/0.5191, allocations: 2.229 MB / 1.54 GB, free: 7.473 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.52, allocations: 266.4 kB / 1.541 GB, free: 7.203 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.5205, allocations: 168.6 kB / 1.541 GB, free: 7.035 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.5205, allocations: 4 kB / 1.541 GB, free: 7.031 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5205, allocations: 34.56 kB / 1.541 GB, free: 6.988 MB / 1.232 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.5205, allocations: 4 kB / 1.541 GB, free: 6.984 MB / 1.232 GB Notification: Performance of matching and sorting (n=11): time 0.004784/0.5253, allocations: 1.017 MB / 1.542 GB, free: 5.957 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5254, allocations: 81.05 kB / 1.542 GB, free: 5.859 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.526, allocations: 0.5535 MB / 1.542 GB, free: 5.297 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.526, allocations: 25.7 kB / 1.543 GB, free: 5.266 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.5262, allocations: 316 kB / 1.543 GB, free: 4.953 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.5263, allocations: 43.64 kB / 1.543 GB, free: 4.91 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.5264, allocations: 65.59 kB / 1.543 GB, free: 4.84 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5266, allocations: 358.8 kB / 1.543 GB, free: 4.48 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.5271, allocations: 183.8 kB / 1.543 GB, free: 4.301 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.5277, allocations: 273.3 kB / 1.544 GB, free: 4 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.5287, allocations: 409.2 kB / 1.544 GB, free: 3.57 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5288, allocations: 0 / 1.544 GB, free: 3.57 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002504/0.5313, allocations: 0.7258 MB / 1.545 GB, free: 2.836 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5313, allocations: 4 kB / 1.545 GB, free: 2.832 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5313, allocations: 4 kB / 1.545 GB, free: 2.828 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.5319, allocations: 188.8 kB / 1.545 GB, free: 2.641 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.5322, allocations: 71.88 kB / 1.545 GB, free: 2.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.5359, allocations: 2.131 MB / 1.547 GB, free: 332 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.5365, allocations: 79.64 kB / 1.547 GB, free: 252 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.5365, allocations: 12 kB / 1.547 GB, free: 240 kB / 1.232 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.00027/0.5368, allocations: 201.7 kB / 1.547 GB, free: 28 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.5369, allocations: 47.77 kB / 1.547 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.537, allocations: 59.92 kB / 1.548 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.537, allocations: 192 / 1.548 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.537, allocations: 4 kB / 1.548 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.537, allocations: 0 / 1.548 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.5399, allocations: 1.101 MB / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.5399, allocations: 0 / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5402, allocations: 40.02 kB / 1.549 GB, free: 14.72 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/0.5407, allocations: 180.7 kB / 1.549 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.5407, allocations: 4 kB / 1.549 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.5442, allocations: 2.088 MB / 1.551 GB, free: 12.33 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5442, allocations: 4.062 kB / 1.551 GB, free: 12.33 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.5466, allocations: 0.7081 MB / 1.552 GB, free: 11.59 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.5469, allocations: 83.77 kB / 1.552 GB, free: 11.51 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.5469, allocations: 11.92 kB / 1.552 GB, free: 11.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.5474, allocations: 47.89 kB / 1.552 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.5475, allocations: 19.91 kB / 1.552 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.5475, allocations: 15.98 kB / 1.552 GB, free: 11.42 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000455/0.548, allocations: 390.8 kB / 1.552 GB, free: 11.04 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.548, allocations: 0 / 1.552 GB, free: 11.04 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000611/0.5486, allocations: 191.7 kB / 1.552 GB, free: 10.85 MB / 1.248 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.002905/0.5515, allocations: 1.3 MB / 1.554 GB, free: 9.512 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.553, allocations: 0.5101 MB / 1.554 GB, free: 8.988 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5531, allocations: 3.938 kB / 1.554 GB, free: 8.984 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.5537, allocations: 295 kB / 1.554 GB, free: 8.684 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5551, allocations: 315.6 kB / 1.555 GB, free: 8.383 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.566, allocations: 5.069 MB / 1.56 GB, free: 3.152 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.5664, allocations: 0.8582 MB / 1.56 GB, free: 2.266 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003825/0.5668, allocations: 108.5 kB / 1.561 GB, free: 2.156 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.567, allocations: 159.4 kB / 1.561 GB, free: 2 MB / 1.248 GB Notification: Performance of SimCode: time 6.82e-07/0.567, allocations: 0 / 1.561 GB, free: 2 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04975/0.6168, allocations: 17.18 MB / 1.577 GB, free: 1.094 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.7, allocations: 11.97 kB / 1.577 GB, free: 1.086 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.688918079999894]