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.01316/0.01316, allocations: 99.73 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.827/1.827, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.589/1.589, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001473/0.001473, allocations: 71.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3059, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003044/0.309, allocations: 1.764 MB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000498/0.3095, allocations: 232.2 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.3096, allocations: 7.875 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.3096, allocations: 11.86 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.3098, allocations: 55.55 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.31, allocations: 47.88 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3102, allocations: 191.2 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3104, allocations: 21.48 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3105, allocations: 71.75 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3106, allocations: 83.62 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.3107, allocations: 16 kB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.83e-05/0.3107, allocations: 16 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.3107, allocations: 27.89 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3109, allocations: 75.66 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3111, allocations: 167.4 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3111, allocations: 0 / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3111, allocations: 0 / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.485e-06/0.3111, allocations: 0 / 0.8307 GB, free: 13.44 MB / 0.6544 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.001084/0.3122, allocations: 474.8 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3122, allocations: 8.031 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.3123, allocations: 16.75 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.3126, allocations: 197.7 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3126, allocations: 8.375 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.3126, allocations: 12.38 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.313, allocations: 143.8 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3131, allocations: 192 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3131, allocations: 11.92 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3131, allocations: 4 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.3136, allocations: 119.8 kB / 0.8317 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009127/0.3145, allocations: 0.4966 MB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.3151, allocations: 177.1 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.3153, allocations: 73.8 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3154, allocations: 4 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.3158, allocations: 153 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3158, allocations: 0 / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0008029/0.3166, allocations: 241.4 kB / 0.8328 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3167, allocations: 81.11 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3169, allocations: 175.2 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3169, allocations: 29.7 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.317, allocations: 108 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.317, allocations: 39.56 kB / 0.8332 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.3171, allocations: 37.64 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3172, allocations: 334.7 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3174, allocations: 67.88 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3177, allocations: 81.67 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.3181, allocations: 145.6 kB / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3181, allocations: 0 / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005297/0.3187, allocations: 193.4 kB / 0.834 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3187, allocations: 7.938 kB / 0.834 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3187, allocations: 0 / 0.834 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3187, allocations: 0 / 0.834 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.319, allocations: 31.97 kB / 0.8341 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.319, allocations: 11.94 kB / 0.8341 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3192, allocations: 23.83 kB / 0.8341 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3192, allocations: 4 kB / 0.8341 GB, free: 9.715 MB / 0.6544 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.0001314/0.3193, allocations: 129.8 kB / 0.8342 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3194, allocations: 11.91 kB / 0.8342 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.32, allocations: 207.1 kB / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.32, allocations: 4 kB / 0.8344 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3201, allocations: 0 / 0.8344 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3201, allocations: 3.938 kB / 0.8344 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3203, allocations: 233.8 kB / 0.8347 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3203, allocations: 0 / 0.8347 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.3205, allocations: 31.98 kB / 0.8347 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3205, allocations: 4 kB / 0.8347 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.3205, allocations: 7.984 kB / 0.8347 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3205, allocations: 80 / 0.8347 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3205, allocations: 3.984 kB / 0.8347 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.3211, allocations: 217.6 kB / 0.8349 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.3211, allocations: 92.95 kB / 0.835 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.3212, allocations: 0 / 0.835 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.3214, allocations: 19.97 kB / 0.835 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.3214, allocations: 15.92 kB / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3215, allocations: 8 kB / 0.835 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001042/0.3216, allocations: 131.2 kB / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3216, allocations: 0 / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002283/0.3218, allocations: 39.91 kB / 0.8352 GB, free: 8.473 MB / 0.6544 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.0001236/0.3219, allocations: 103.2 kB / 0.8353 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.3225, allocations: 152 kB / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3225, allocations: 0 / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.3228, allocations: 83.89 kB / 0.8355 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3231, allocations: 52.08 kB / 0.8356 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.3238, allocations: 261 kB / 0.8358 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3241, allocations: 0.72 MB / 0.8365 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.022e-05/0.3242, allocations: 17.42 kB / 0.8365 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.3243, allocations: 15.44 kB / 0.8366 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.3243, allocations: 0 / 0.8366 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.005933/0.3302, allocations: 2.568 MB / 0.8391 GB, free: 4.539 MB / 0.6544 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)