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.00157/0.00157, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001715/0.001715, allocations: 163 kB / 22.45 MB, free: 5.379 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.447/1.447, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.727/2.727, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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_11_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_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.493e-05, allocations: 4.672 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2278/0.2279, allocations: 150.8 MB / 1.098 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007825/0.2357, allocations: 4.029 MB / 1.102 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.2366, allocations: 27.75 kB / 1.102 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.6747/0.9113, allocations: 327.4 kB / 1.103 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.9143, allocations: 1.072 MB / 1.104 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.9167, allocations: 0.8457 MB / 1.104 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.9191, allocations: 1.328 MB / 1.106 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007303/0.9199, allocations: 378.4 kB / 1.106 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.9216, allocations: 0.8655 MB / 1.107 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.9229, allocations: 424.6 kB / 1.107 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.923, allocations: 52.56 kB / 1.107 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.9248, allocations: 0.7639 MB / 1.108 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.9251, allocations: 232.2 kB / 1.108 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.9254, allocations: 239.3 kB / 1.109 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.9275, allocations: 1.174 MB / 1.11 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.9275, allocations: 0 / 1.11 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9275, allocations: 0 / 1.11 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.9275, allocations: 1.781 kB / 1.11 GB, free: 12.4 MB / 0.9981 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.001809/0.9293, allocations: 0.8916 MB / 1.111 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9293, allocations: 10.31 kB / 1.111 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.9311, allocations: 263.6 kB / 1.111 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.932, allocations: 437.5 kB / 1.111 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.9321, allocations: 32.69 kB / 1.111 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.9322, allocations: 39.09 kB / 1.111 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.9336, allocations: 0.8947 MB / 1.112 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.9336, allocations: 1.094 kB / 1.112 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.9337, allocations: 20.06 kB / 1.112 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.9337, allocations: 22.2 kB / 1.112 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.9353, allocations: 0.5478 MB / 1.113 GB, free: 11.24 MB / 0.9981 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.003923/0.9392, allocations: 1.783 MB / 1.114 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9402, allocations: 277.9 kB / 1.115 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.9408, allocations: 165.2 kB / 1.115 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.9408, allocations: 2.062 kB / 1.115 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.9409, allocations: 35.5 kB / 1.115 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.9409, allocations: 0.6875 kB / 1.115 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005583/0.9464, allocations: 1.003 MB / 1.116 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.9465, allocations: 81.73 kB / 1.116 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.947, allocations: 425.2 kB / 1.116 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.9471, allocations: 31.45 kB / 1.116 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.9472, allocations: 319.4 kB / 1.117 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.9473, allocations: 41.62 kB / 1.117 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.9474, allocations: 61.33 kB / 1.117 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.9475, allocations: 347.3 kB / 1.117 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.9482, allocations: 188.3 kB / 1.117 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/0.9489, allocations: 292 kB / 1.118 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.9501, allocations: 411.2 kB / 1.118 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.9501, allocations: 6.25 kB / 1.118 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002962/0.9531, allocations: 0.7179 MB / 1.119 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.9531, allocations: 8.188 kB / 1.119 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.9531, allocations: 6 kB / 1.119 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006873/0.9538, allocations: 182.9 kB / 1.119 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.9542, allocations: 73.94 kB / 1.119 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.9581, allocations: 2.078 MB / 1.121 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.9589, allocations: 67.38 kB / 1.121 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.9589, allocations: 9.859 kB / 1.121 GB, free: 8.129 MB / 0.9981 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.0003883/0.9593, allocations: 192.4 kB / 1.121 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9594, allocations: 43.36 kB / 1.121 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.9595, allocations: 39.28 kB / 1.121 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.9595, allocations: 3.438 kB / 1.121 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9595, allocations: 0 / 1.121 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.9595, allocations: 2.906 kB / 1.121 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.9628, allocations: 1 MB / 1.122 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.9628, allocations: 2.438 kB / 1.122 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.9631, allocations: 42.41 kB / 1.122 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000702/0.9638, allocations: 181.6 kB / 1.123 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.9638, allocations: 3.781 kB / 1.123 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.9684, allocations: 2.032 MB / 1.125 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9684, allocations: 1.031 kB / 1.125 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.9717, allocations: 0.6877 MB / 1.125 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.9722, allocations: 89.78 kB / 1.125 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.9722, allocations: 1.828 kB / 1.125 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.9728, allocations: 51.52 kB / 1.125 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.9729, allocations: 18.42 kB / 1.125 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.973, allocations: 12.56 kB / 1.125 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004274/0.9734, allocations: 290.5 kB / 1.126 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9734, allocations: 1.094 kB / 1.126 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009287/0.9743, allocations: 196 kB / 1.126 GB, free: 6.191 MB / 0.9981 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.0004032/0.9747, allocations: 166 kB / 1.126 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.9765, allocations: 0.5142 MB / 1.127 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9765, allocations: 4.031 kB / 1.127 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.9773, allocations: 297.9 kB / 1.127 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.9784, allocations: 197.9 kB / 1.127 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.9816, allocations: 1.013 MB / 1.128 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.982, allocations: 267.4 kB / 1.128 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003707/0.9823, allocations: 89.36 kB / 1.128 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.9824, allocations: 29.92 kB / 1.128 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.9824, allocations: 1.094 kB / 1.128 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of Templates: time 0.01958/1.002, allocations: 9.574 MB / 1.138 GB, free: 4.445 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.099810518324375]