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.001577/0.001577, 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.002152/0.002152, allocations: 213.6 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.738/1.738, allocations: 230.6 MB / 256 MB, free: 7.828 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.418/3.418, allocations: 0.5107 GB / 0.8158 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.002121/0.002121, allocations: 71.58 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 181.9 MB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2068/0.5884, allocations: 150.9 MB / 1.511 GB, free: 6.199 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007364/0.5957, allocations: 4.017 MB / 1.515 GB, free: 2.172 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.5968, allocations: 31.75 kB / 1.515 GB, free: 2.141 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.5982, allocations: 330 kB / 1.515 GB, free: 1.816 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.6016, allocations: 1.042 MB / 1.516 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.6044, allocations: 0.8307 MB / 1.517 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.6066, allocations: 1.302 MB / 1.519 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.6073, allocations: 387.9 kB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.6089, allocations: 0.7434 MB / 1.52 GB, free: 13.51 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.6101, allocations: 450.9 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.6102, allocations: 52 kB / 1.52 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.6118, allocations: 0.7521 MB / 1.521 GB, free: 12.27 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.6121, allocations: 219.3 kB / 1.521 GB, free: 12.05 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.6125, allocations: 282.8 kB / 1.521 GB, free: 11.77 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.6143, allocations: 1.114 MB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6143, allocations: 0 / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6143, allocations: 3.938 kB / 1.522 GB, free: 10.65 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.6143, allocations: 4 kB / 1.522 GB, free: 10.65 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.001837/0.6161, allocations: 0.8858 MB / 1.523 GB, free: 9.73 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6162, allocations: 12.03 kB / 1.523 GB, free: 9.719 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.6178, allocations: 259.4 kB / 1.524 GB, free: 9.465 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.6188, allocations: 434.6 kB / 1.524 GB, free: 9.016 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.6189, allocations: 40.98 kB / 1.524 GB, free: 8.977 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.6189, allocations: 39.98 kB / 1.524 GB, free: 8.938 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.6204, allocations: 0.8984 MB / 1.525 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6204, allocations: 3.938 kB / 1.525 GB, free: 7.941 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.6205, allocations: 16 kB / 1.525 GB, free: 7.926 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.6205, allocations: 17 kB / 1.525 GB, free: 7.91 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.622, allocations: 0.5464 MB / 1.526 GB, free: 7.359 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.004019/0.626, allocations: 1.799 MB / 1.527 GB, free: 5.504 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.627, allocations: 274.3 kB / 1.528 GB, free: 5.227 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.6276, allocations: 160.7 kB / 1.528 GB, free: 5.066 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.6276, allocations: 4 kB / 1.528 GB, free: 5.062 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.6277, allocations: 42.5 kB / 1.528 GB, free: 5.012 MB / 1.217 GB Notification: Performance of pre-optimization done (n=11): time 1.884e-06/0.6277, allocations: 0 / 1.528 GB, free: 5.012 MB / 1.217 GB Notification: Performance of matching and sorting (n=11): time 0.005302/0.633, allocations: 1.009 MB / 1.529 GB, free: 3.992 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.6331, allocations: 81.11 kB / 1.529 GB, free: 3.895 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.6337, allocations: 417.8 kB / 1.529 GB, free: 3.48 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.6337, allocations: 29.7 kB / 1.529 GB, free: 3.445 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.634, allocations: 319.6 kB / 1.53 GB, free: 3.125 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.6341, allocations: 47.64 kB / 1.53 GB, free: 3.078 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.6342, allocations: 57.66 kB / 1.53 GB, free: 3.016 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6344, allocations: 350.7 kB / 1.53 GB, free: 2.664 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.635, allocations: 187.8 kB / 1.53 GB, free: 2.48 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.6357, allocations: 291.6 kB / 1.53 GB, free: 2.156 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.6369, allocations: 417.8 kB / 1.531 GB, free: 1.719 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.637, allocations: 0 / 1.531 GB, free: 1.719 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002731/0.6397, allocations: 0.7262 MB / 1.532 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6397, allocations: 4 kB / 1.532 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6397, allocations: 4 kB / 1.532 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.6404, allocations: 184.8 kB / 1.532 GB, free: 0.793 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.6408, allocations: 71.89 kB / 1.532 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.6449, allocations: 2.083 MB / 1.534 GB, free: 14.54 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.6455, allocations: 59.86 kB / 1.534 GB, free: 14.48 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.6455, allocations: 12 kB / 1.534 GB, free: 14.47 MB / 1.233 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.0002896/0.6458, allocations: 189.7 kB / 1.534 GB, free: 14.28 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.6459, allocations: 39.77 kB / 1.534 GB, free: 14.24 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.646, allocations: 47.2 kB / 1.534 GB, free: 14.19 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.646, allocations: 0 / 1.534 GB, free: 14.19 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.646, allocations: 8.125 kB / 1.534 GB, free: 14.18 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.646, allocations: 7.938 kB / 1.534 GB, free: 14.18 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.6492, allocations: 0.9958 MB / 1.535 GB, free: 13.13 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6492, allocations: 4 kB / 1.535 GB, free: 13.13 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.6494, allocations: 35.95 kB / 1.535 GB, free: 13.09 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.65, allocations: 184.8 kB / 1.535 GB, free: 12.91 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.65, allocations: 0 / 1.535 GB, free: 12.91 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003839/0.6538, allocations: 2.037 MB / 1.537 GB, free: 10.77 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6538, allocations: 192 / 1.537 GB, free: 10.77 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.6564, allocations: 0.6965 MB / 1.538 GB, free: 10.05 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.6567, allocations: 83.66 kB / 1.538 GB, free: 9.965 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.6568, allocations: 4 kB / 1.538 GB, free: 9.961 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.6573, allocations: 47.95 kB / 1.538 GB, free: 9.914 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.6574, allocations: 15.97 kB / 1.538 GB, free: 9.898 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.6574, allocations: 11.98 kB / 1.538 GB, free: 9.887 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0003604/0.6578, allocations: 287.1 kB / 1.538 GB, free: 9.609 MB / 1.233 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6578, allocations: 0 / 1.538 GB, free: 9.609 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0006895/0.6585, allocations: 195.5 kB / 1.539 GB, free: 9.418 MB / 1.233 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.0003206/0.6588, allocations: 155.1 kB / 1.539 GB, free: 9.258 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.6605, allocations: 0.5204 MB / 1.539 GB, free: 8.727 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6605, allocations: 0 / 1.539 GB, free: 8.727 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.6612, allocations: 298.9 kB / 1.54 GB, free: 8.422 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.6623, allocations: 197 kB / 1.54 GB, free: 8.234 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.6655, allocations: 1.052 MB / 1.541 GB, free: 7.148 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.6657, allocations: 260 kB / 1.541 GB, free: 6.871 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.6661, allocations: 95.2 kB / 1.541 GB, free: 6.777 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.6662, allocations: 27.44 kB / 1.541 GB, free: 6.75 MB / 1.233 GB Notification: Performance of SimCode: time 5.61e-07/0.6662, allocations: 0 / 1.541 GB, free: 6.75 MB / 1.233 GB Notification: Performance of Templates: time 0.01907/0.6852, allocations: 10.47 MB / 1.551 GB, free: 12.47 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/jenkins/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: 10.145555483177304]