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.001551/0.001551, 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.001922/0.001922, allocations: 208.3 kB / 22.24 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.453/1.453, 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 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.753/2.753, allocations: 476 MB / 0.7699 GB, free: 4.727 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.00202/0.00202, allocations: 72.38 kB / 1.117 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 169.9 MB / 1.283 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2019/0.5521, allocations: 150.9 MB / 1.43 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007321/0.5594, allocations: 4.021 MB / 1.434 GB, free: 8.742 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009101/0.5603, allocations: 31.75 kB / 1.434 GB, free: 8.711 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.5616, allocations: 330 kB / 1.434 GB, free: 8.387 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.5645, allocations: 1.038 MB / 1.435 GB, free: 7.344 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.567, allocations: 0.8309 MB / 1.436 GB, free: 6.52 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.5691, allocations: 1.317 MB / 1.437 GB, free: 5.199 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.5697, allocations: 376 kB / 1.438 GB, free: 4.828 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.5711, allocations: 0.7161 MB / 1.438 GB, free: 4.109 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.5722, allocations: 465.2 kB / 1.439 GB, free: 3.656 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.5723, allocations: 52 kB / 1.439 GB, free: 3.605 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.5738, allocations: 0.756 MB / 1.44 GB, free: 2.848 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.5741, allocations: 215.3 kB / 1.44 GB, free: 2.637 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.5744, allocations: 278.8 kB / 1.44 GB, free: 2.363 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.5762, allocations: 1.121 MB / 1.441 GB, free: 1.238 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5762, allocations: 0 / 1.441 GB, free: 1.238 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5762, allocations: 0 / 1.441 GB, free: 1.238 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.5762, allocations: 4 kB / 1.441 GB, free: 1.234 MB / 1.139 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.001726/0.5779, allocations: 0.8897 MB / 1.442 GB, free: 316 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.578, allocations: 8.031 kB / 1.442 GB, free: 308 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5781, allocations: 86.52 kB / 1.442 GB, free: 212 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.5796, allocations: 259.4 kB / 1.442 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.5806, allocations: 450.5 kB / 1.443 GB, free: 15.49 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.5807, allocations: 29 kB / 1.443 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.5807, allocations: 40 kB / 1.443 GB, free: 15.42 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5822, allocations: 0.8907 MB / 1.444 GB, free: 14.44 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5822, allocations: 0 / 1.444 GB, free: 14.44 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.767e-05/0.5823, allocations: 20 kB / 1.444 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.5823, allocations: 17 kB / 1.444 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.5838, allocations: 0.5503 MB / 1.444 GB, free: 13.86 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.00405/0.5878, allocations: 1.895 MB / 1.446 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.5888, allocations: 278.3 kB / 1.446 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.5894, allocations: 168.7 kB / 1.447 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.5894, allocations: 4 kB / 1.447 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.5894, allocations: 38.5 kB / 1.447 GB, free: 11.39 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.5894, allocations: 0 / 1.447 GB, free: 11.39 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005142/0.5946, allocations: 1.017 MB / 1.448 GB, free: 10.36 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.5946, allocations: 77.33 kB / 1.448 GB, free: 10.27 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.5954, allocations: 0.5651 MB / 1.448 GB, free: 9.691 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.5955, allocations: 29.64 kB / 1.448 GB, free: 9.656 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.5957, allocations: 304.1 kB / 1.449 GB, free: 9.355 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.5958, allocations: 43.62 kB / 1.449 GB, free: 9.312 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5959, allocations: 65.64 kB / 1.449 GB, free: 9.242 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.5961, allocations: 354.8 kB / 1.449 GB, free: 8.887 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.5967, allocations: 183.8 kB / 1.449 GB, free: 8.707 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.5974, allocations: 296.7 kB / 1.449 GB, free: 8.379 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.5986, allocations: 415.4 kB / 1.45 GB, free: 7.945 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5986, allocations: 7.938 kB / 1.45 GB, free: 7.938 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002724/0.6013, allocations: 0.7202 MB / 1.451 GB, free: 7.207 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6013, allocations: 8 kB / 1.451 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6014, allocations: 0 / 1.451 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006777/0.602, allocations: 200.7 kB / 1.451 GB, free: 7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.6024, allocations: 63.94 kB / 1.451 GB, free: 6.938 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.6066, allocations: 2.103 MB / 1.453 GB, free: 4.723 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.6072, allocations: 79.64 kB / 1.453 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.6073, allocations: 8 kB / 1.453 GB, free: 4.637 MB / 1.154 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.0003082/0.6076, allocations: 197.7 kB / 1.453 GB, free: 4.434 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.6077, allocations: 51.67 kB / 1.453 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.6078, allocations: 55.97 kB / 1.453 GB, free: 4.328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6078, allocations: 4 kB / 1.453 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6078, allocations: 0 / 1.453 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6078, allocations: 192 / 1.453 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.6109, allocations: 1.042 MB / 1.454 GB, free: 3.223 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6109, allocations: 0 / 1.454 GB, free: 3.223 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.6112, allocations: 40.02 kB / 1.454 GB, free: 3.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005675/0.6117, allocations: 184.7 kB / 1.454 GB, free: 3 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.6118, allocations: 4 kB / 1.454 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.6155, allocations: 2.052 MB / 1.456 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6155, allocations: 0 / 1.456 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.6181, allocations: 0.7047 MB / 1.457 GB, free: 100 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.6184, allocations: 95.8 kB / 1.457 GB, free: 4 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.6185, allocations: 4 kB / 1.457 GB, free: 0 / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.6191, allocations: 55.88 kB / 1.457 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.6191, allocations: 7.984 kB / 1.457 GB, free: 15.94 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.6192, allocations: 15.98 kB / 1.457 GB, free: 15.92 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005195/0.6197, allocations: 398.9 kB / 1.458 GB, free: 15.54 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6197, allocations: 3.938 kB / 1.458 GB, free: 15.53 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006409/0.6203, allocations: 179.8 kB / 1.458 GB, free: 15.36 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.003126/0.6235, allocations: 1.307 MB / 1.459 GB, free: 14.01 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.6251, allocations: 0.5256 MB / 1.46 GB, free: 13.47 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6251, allocations: 0 / 1.46 GB, free: 13.47 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.6259, allocations: 295 kB / 1.46 GB, free: 13.17 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.6274, allocations: 306.1 kB / 1.46 GB, free: 12.88 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.6391, allocations: 5.077 MB / 1.465 GB, free: 7.641 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.6394, allocations: 263.9 kB / 1.465 GB, free: 7.355 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004582/0.6399, allocations: 100.5 kB / 1.466 GB, free: 7.254 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.6401, allocations: 163.4 kB / 1.466 GB, free: 7.094 MB / 1.17 GB Notification: Performance of SimCode: time 1.212e-06/0.6401, allocations: 0 / 1.466 GB, free: 7.094 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/0.6945, allocations: 18.31 MB / 1.484 GB, free: 5.215 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.91, allocations: 22.64 kB / 1.484 GB, free: 5.195 MB / 1.186 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/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: 20.361126132309437]