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.001735/0.001735, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.002318/0.002318, allocations: 169.4 kB / 22.46 MB, free: 5.355 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.593/1.593, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.873/2.873, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.393e-05, allocations: 2.281 kB / 1 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8525/0.8525, allocations: 150.9 MB / 1.147 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006019/0.8586, allocations: 4.023 MB / 1.151 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.8593, allocations: 29.94 kB / 1.151 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.8603, allocations: 335.3 kB / 1.152 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.8631, allocations: 1.074 MB / 1.153 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.8656, allocations: 0.8507 MB / 1.154 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.8675, allocations: 1.333 MB / 1.155 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.8681, allocations: 378.3 kB / 1.155 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.8697, allocations: 0.8945 MB / 1.156 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.8707, allocations: 417.8 kB / 1.156 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.8708, allocations: 50.97 kB / 1.157 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.8723, allocations: 0.7673 MB / 1.157 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.8726, allocations: 225.8 kB / 1.157 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.8729, allocations: 234.4 kB / 1.158 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.8743, allocations: 1.174 MB / 1.159 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8743, allocations: 0 / 1.159 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8743, allocations: 0 / 1.159 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.8743, allocations: 5.25 kB / 1.159 GB, free: 7.109 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.001392/0.8757, allocations: 0.8856 MB / 1.16 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8757, allocations: 8.594 kB / 1.16 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.8774, allocations: 266.9 kB / 1.16 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.8781, allocations: 434.7 kB / 1.16 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.8782, allocations: 32.88 kB / 1.16 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.8782, allocations: 42.72 kB / 1.16 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.8795, allocations: 0.8957 MB / 1.161 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.8795, allocations: 1.219 kB / 1.161 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.8796, allocations: 17.34 kB / 1.161 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.462e-05/0.8796, allocations: 23.45 kB / 1.161 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.881, allocations: 0.5439 MB / 1.162 GB, free: 5.355 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.003479/0.8845, allocations: 1.783 MB / 1.164 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.8854, allocations: 276.4 kB / 1.164 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/0.886, allocations: 160.5 kB / 1.164 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.886, allocations: 9.156 kB / 1.164 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.886, allocations: 37.28 kB / 1.164 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.886, allocations: 0 / 1.164 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005312/0.8913, allocations: 1.004 MB / 1.165 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.8914, allocations: 86.2 kB / 1.165 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.8918, allocations: 424.8 kB / 1.166 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.8919, allocations: 27.05 kB / 1.166 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.892, allocations: 317.8 kB / 1.166 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.8921, allocations: 42.5 kB / 1.166 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.8922, allocations: 58.77 kB / 1.166 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.123e-05/0.8922, allocations: 346 kB / 1.166 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.8929, allocations: 192.6 kB / 1.167 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.8935, allocations: 300.3 kB / 1.167 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.8947, allocations: 405.6 kB / 1.167 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8947, allocations: 1.625 kB / 1.167 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002734/0.8974, allocations: 0.7193 MB / 1.168 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8974, allocations: 11.78 kB / 1.168 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8974, allocations: 6.781 kB / 1.168 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.8981, allocations: 181.3 kB / 1.168 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.8985, allocations: 76.72 kB / 1.168 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.902, allocations: 2.086 MB / 1.17 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.9027, allocations: 57.3 kB / 1.17 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.9027, allocations: 12.81 kB / 1.17 GB, free: 0.6953 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.0002537/0.9029, allocations: 198.8 kB / 1.17 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.903, allocations: 41.23 kB / 1.171 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.9031, allocations: 42.52 kB / 1.171 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9031, allocations: 1.312 kB / 1.171 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.9031, allocations: 1.219 kB / 1.171 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9031, allocations: 0 / 1.171 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.9061, allocations: 0.996 MB / 1.172 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.9061, allocations: 0.75 kB / 1.172 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.9063, allocations: 40.94 kB / 1.172 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005642/0.9069, allocations: 184.3 kB / 1.172 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.9069, allocations: 7.75 kB / 1.172 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.9109, allocations: 2.036 MB / 1.174 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9109, allocations: 1.25 kB / 1.174 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.9136, allocations: 0.6819 MB / 1.174 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.9139, allocations: 84.59 kB / 1.174 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.9139, allocations: 6 kB / 1.174 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.9145, allocations: 47.98 kB / 1.175 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.9146, allocations: 20.53 kB / 1.175 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.9146, allocations: 15.89 kB / 1.175 GB, free: 14.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003527/0.915, allocations: 288.5 kB / 1.175 GB, free: 14.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.915, allocations: 5.156 kB / 1.175 GB, free: 14.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007292/0.9157, allocations: 199.7 kB / 1.175 GB, free: 13.97 MB / 1.014 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.0003324/0.916, allocations: 168.6 kB / 1.175 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.9177, allocations: 0.5135 MB / 1.176 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9177, allocations: 1.375 kB / 1.176 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.9185, allocations: 296.4 kB / 1.176 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.9196, allocations: 196.8 kB / 1.176 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.9228, allocations: 1.028 MB / 1.177 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.923, allocations: 263.2 kB / 1.177 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.9234, allocations: 79.45 kB / 1.178 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.9235, allocations: 30.83 kB / 1.178 GB, free: 12.78 MB / 1.014 GB Notification: Performance of SimCode: time 5.92e-07/0.9235, allocations: 0 / 1.178 GB, free: 12.78 MB / 1.014 GB Notification: Performance of Templates: time 0.01705/0.9405, allocations: 9.575 MB / 1.187 GB, free: 9.414 MB / 1.014 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: 9.406583070755005]