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.001326/0.001326, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001467/0.001467, allocations: 222 kB / 23 MB, free: 4.91 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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 3.293/3.293, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [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.002057/0.002057, allocations: 67.75 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3891, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2035/0.5926, allocations: 150.9 MB / 1.512 GB, free: 6.18 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007578/0.6001, allocations: 4.021 MB / 1.516 GB, free: 2.148 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009209/0.6011, allocations: 27.75 kB / 1.516 GB, free: 2.121 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.6028, allocations: 326.1 kB / 1.516 GB, free: 1.801 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.6069, allocations: 1.046 MB / 1.517 GB, free: 0.75 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.6097, allocations: 0.827 MB / 1.518 GB, free: 15.93 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.612, allocations: 1.302 MB / 1.519 GB, free: 14.62 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.6127, allocations: 376 kB / 1.52 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.6144, allocations: 0.7473 MB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.6157, allocations: 461.2 kB / 1.521 GB, free: 13.05 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.6158, allocations: 55.94 kB / 1.521 GB, free: 13 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.6174, allocations: 0.7443 MB / 1.522 GB, free: 12.25 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.6177, allocations: 219.3 kB / 1.522 GB, free: 12.04 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.618, allocations: 274.8 kB / 1.522 GB, free: 11.77 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.6198, allocations: 1.121 MB / 1.523 GB, free: 10.64 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6198, allocations: 3.938 kB / 1.523 GB, free: 10.64 MB / 1.217 GB Notification: Performance of FrontEnd: time 4.819e-06/0.6198, allocations: 3.984 kB / 1.523 GB, free: 10.63 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.6198, allocations: 0 / 1.523 GB, free: 10.63 MB / 1.217 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.001856/0.6217, allocations: 0.8936 MB / 1.524 GB, free: 9.707 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6217, allocations: 8.031 kB / 1.524 GB, free: 9.699 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.6234, allocations: 263.4 kB / 1.524 GB, free: 9.441 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.6244, allocations: 434.5 kB / 1.525 GB, free: 8.992 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.6244, allocations: 37 kB / 1.525 GB, free: 8.957 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.6245, allocations: 36 kB / 1.525 GB, free: 8.922 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.626, allocations: 0.8984 MB / 1.526 GB, free: 7.93 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.626, allocations: 0 / 1.526 GB, free: 7.93 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.6261, allocations: 23.98 kB / 1.526 GB, free: 7.906 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.6261, allocations: 17 kB / 1.526 GB, free: 7.891 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.6276, allocations: 0.5464 MB / 1.526 GB, free: 7.34 MB / 1.217 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.004004/0.6316, allocations: 1.795 MB / 1.528 GB, free: 5.488 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/0.6326, allocations: 274.3 kB / 1.528 GB, free: 5.211 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.6331, allocations: 164.7 kB / 1.528 GB, free: 5.047 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.6332, allocations: 3.984 kB / 1.528 GB, free: 5.043 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6332, allocations: 38.5 kB / 1.528 GB, free: 4.996 MB / 1.217 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/0.6332, allocations: 4 kB / 1.528 GB, free: 4.992 MB / 1.217 GB Notification: Performance of matching and sorting (n=11): time 0.005236/0.6384, allocations: 1.005 MB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.6385, allocations: 77.11 kB / 1.53 GB, free: 3.883 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.6391, allocations: 421.8 kB / 1.53 GB, free: 3.465 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.6391, allocations: 33.7 kB / 1.53 GB, free: 3.426 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.6394, allocations: 319.6 kB / 1.53 GB, free: 3.105 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.6394, allocations: 39.66 kB / 1.53 GB, free: 3.066 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.6396, allocations: 65.64 kB / 1.53 GB, free: 2.996 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6397, allocations: 350.7 kB / 1.531 GB, free: 2.645 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.6404, allocations: 183.8 kB / 1.531 GB, free: 2.465 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.6411, allocations: 299.4 kB / 1.531 GB, free: 2.133 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.6423, allocations: 415.2 kB / 1.532 GB, free: 1.699 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6423, allocations: 4 kB / 1.532 GB, free: 1.695 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002774/0.6451, allocations: 0.7163 MB / 1.532 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6451, allocations: 8 kB / 1.532 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.6451, allocations: 0 / 1.532 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.6458, allocations: 184.8 kB / 1.532 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.6462, allocations: 71.88 kB / 1.533 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.6504, allocations: 2.092 MB / 1.535 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.651, allocations: 59.86 kB / 1.535 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.6511, allocations: 8 kB / 1.535 GB, free: 14.45 MB / 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.0003293/0.6514, allocations: 199.5 kB / 1.535 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.6515, allocations: 39.77 kB / 1.535 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.6516, allocations: 39.22 kB / 1.535 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6516, allocations: 0 / 1.535 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6516, allocations: 7.938 kB / 1.535 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6516, allocations: 0 / 1.535 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.6547, allocations: 0.9958 MB / 1.536 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6547, allocations: 0 / 1.536 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.6549, allocations: 43.95 kB / 1.536 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/0.6555, allocations: 180.7 kB / 1.536 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.6555, allocations: 11.98 kB / 1.536 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.6593, allocations: 2.03 MB / 1.538 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6593, allocations: 64 / 1.538 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.6619, allocations: 0.6925 MB / 1.539 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.6622, allocations: 79.67 kB / 1.539 GB, free: 9.957 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.6623, allocations: 8 kB / 1.539 GB, free: 9.949 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.6628, allocations: 43.94 kB / 1.539 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.6629, allocations: 11.98 kB / 1.539 GB, free: 9.895 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.663, allocations: 15.98 kB / 1.539 GB, free: 9.879 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003688/0.6633, allocations: 291.1 kB / 1.539 GB, free: 9.598 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6633, allocations: 0 / 1.539 GB, free: 9.598 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007074/0.664, allocations: 199.5 kB / 1.539 GB, free: 9.402 MB / 1.232 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.0003372/0.6644, allocations: 159.3 kB / 1.54 GB, free: 9.238 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.666, allocations: 0.5106 MB / 1.54 GB, free: 8.715 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.666, allocations: 0 / 1.54 GB, free: 8.715 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/0.6668, allocations: 303 kB / 1.54 GB, free: 8.406 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.6678, allocations: 199.7 kB / 1.541 GB, free: 8.215 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.6711, allocations: 1.093 MB / 1.542 GB, free: 7.082 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.6713, allocations: 260 kB / 1.542 GB, free: 6.805 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6715, allocations: 35.42 kB / 1.542 GB, free: 6.77 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/0.6715, allocations: 0 / 1.542 GB, free: 6.77 MB / 1.232 GB Notification: Performance of Templates: time 0.01514/0.6866, allocations: 9.964 MB / 1.552 GB, free: 12.86 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.265538363251835]