Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 194 kB / 16.53 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.733/1.733, allocations: 251.7 MB / 0.5092 GB, free: 3.016 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.91 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7126/0.7146, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003447/0.7181, allocations: 1.764 MB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.7189, allocations: 244.1 kB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.7189, allocations: 0 / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.326e-05/0.719, allocations: 11.86 kB / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.7192, allocations: 51.5 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.7195, allocations: 43.94 kB / 0.7266 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.7197, allocations: 191.2 kB / 0.7268 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.72, allocations: 29.48 kB / 0.7268 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.7201, allocations: 63.78 kB / 0.7269 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.7203, allocations: 83.61 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.7203, allocations: 12 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.849e-05/0.7204, allocations: 12 kB / 0.727 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.7204, allocations: 35.89 kB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.7205, allocations: 71.66 kB / 0.7271 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.7208, allocations: 165.4 kB / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7208, allocations: 0 / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7208, allocations: 0 / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.7208, allocations: 0 / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001078/0.7219, allocations: 474.8 kB / 0.7277 GB, free: 9.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7219, allocations: 12.03 kB / 0.7277 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.722, allocations: 16.75 kB / 0.7277 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.7222, allocations: 200 kB / 0.7279 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.7222, allocations: 8.375 kB / 0.7279 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.7222, allocations: 12.36 kB / 0.7279 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.7226, allocations: 143.1 kB / 0.728 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7227, allocations: 192 / 0.728 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.7227, allocations: 11.88 kB / 0.7281 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.7227, allocations: 4 kB / 0.7281 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.7231, allocations: 131.8 kB / 0.7282 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.7241, allocations: 0.4927 MB / 0.7287 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.7246, allocations: 173.1 kB / 0.7288 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.7249, allocations: 73.8 kB / 0.7289 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.7249, allocations: 4 kB / 0.7289 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.7254, allocations: 145 kB / 0.729 GB, free: 8.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.7254, allocations: 0 / 0.729 GB, free: 8.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007879/0.7262, allocations: 237.3 kB / 0.7293 GB, free: 7.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.7263, allocations: 81.11 kB / 0.7293 GB, free: 7.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.7265, allocations: 179.2 kB / 0.7295 GB, free: 7.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.7265, allocations: 29.7 kB / 0.7295 GB, free: 7.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.7266, allocations: 116 kB / 0.7297 GB, free: 7.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.7267, allocations: 39.52 kB / 0.7297 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.7268, allocations: 33.7 kB / 0.7297 GB, free: 7.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.7269, allocations: 330.8 kB / 0.73 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.7272, allocations: 63.95 kB / 0.7301 GB, free: 6.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.7274, allocations: 81.66 kB / 0.7302 GB, free: 6.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.7279, allocations: 153.9 kB / 0.7303 GB, free: 6.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7279, allocations: 0 / 0.7303 GB, free: 6.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005561/0.7285, allocations: 189.4 kB / 0.7305 GB, free: 6.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.7285, allocations: 10.19 kB / 0.7305 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.7285, allocations: 4 kB / 0.7305 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.7286, allocations: 3.984 kB / 0.7305 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.7288, allocations: 35.92 kB / 0.7306 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.7288, allocations: 3.984 kB / 0.7306 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.729, allocations: 27.77 kB / 0.7306 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.7291, allocations: 4 kB / 0.7306 GB, free: 6.426 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (TRoo1.count,$PRE.TRoo1.count,TRoo1.T_start,$PRE.TRoo1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.7293, allocations: 121.8 kB / 0.7307 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.7293, allocations: 11.91 kB / 0.7307 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.73, allocations: 206.8 kB / 0.7309 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.73, allocations: 0 / 0.7309 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.73, allocations: 0 / 0.7309 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.7301, allocations: 7.938 kB / 0.7309 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.7303, allocations: 233.6 kB / 0.7311 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7304, allocations: 7.875 kB / 0.7312 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.7305, allocations: 27.97 kB / 0.7312 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7305, allocations: 0 / 0.7312 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.7306, allocations: 3.938 kB / 0.7312 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7306, allocations: 4 kB / 0.7312 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.7306, allocations: 3.984 kB / 0.7312 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.7311, allocations: 213.6 kB / 0.7314 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.7312, allocations: 92.89 kB / 0.7315 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.7312, allocations: 4 kB / 0.7315 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.7314, allocations: 20.09 kB / 0.7315 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.7315, allocations: 19.92 kB / 0.7315 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.7315, allocations: 12 kB / 0.7315 GB, free: 5.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001145/0.7317, allocations: 127.2 kB / 0.7317 GB, free: 5.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7317, allocations: 0 / 0.7317 GB, free: 5.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.7319, allocations: 43.89 kB / 0.7317 GB, free: 5.184 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.7321, allocations: 95.25 kB / 0.7318 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.7327, allocations: 163.8 kB / 0.7319 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7327, allocations: 0 / 0.7319 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.733, allocations: 75.89 kB / 0.732 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.7334, allocations: 60.78 kB / 0.7321 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.734, allocations: 264.8 kB / 0.7323 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.7344, allocations: 0.7085 MB / 0.733 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.557e-05/0.7345, allocations: 21.36 kB / 0.733 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.7345, allocations: 15.44 kB / 0.7331 GB, free: 3.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.7346, allocations: 4 kB / 0.7331 GB, free: 3.727 MB / 0.545 GB Notification: Performance of Templates: time 0.006408/0.741, allocations: 2.544 MB / 0.7355 GB, free: 1.262 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)