Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset") Notification: Performance of loadModel(Buildings): time 4.086/4.086, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.452e-05, allocations: 0 / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4982, allocations: 98.7 MB / 0.6289 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.6985, allocations: 124.3 MB / 0.7503 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.6988, allocations: 71.78 kB / 0.7504 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008314/0.7071, allocations: 2.058 MB / 0.7524 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7071, allocations: 0 / 0.7524 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.4e-06/0.7072, allocations: 0 / 0.7524 GB, free: 1.035 MB / 0.6198 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.0008609/0.708, allocations: 446.1 kB / 0.7528 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7081, allocations: 12.02 kB / 0.7528 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.144e-05/0.7082, allocations: 15.86 kB / 0.7528 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.7084, allocations: 184.7 kB / 0.753 GB, free: 316 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7084, allocations: 0 / 0.753 GB, free: 316 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.7085, allocations: 8 kB / 0.753 GB, free: 308 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002406/0.7087, allocations: 71.86 kB / 0.7531 GB, free: 236 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.709, allocations: 115.3 kB / 0.7532 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.709, allocations: 0 / 0.7532 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.709, allocations: 0 / 0.7532 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-06/0.7091, allocations: 3.938 kB / 0.7532 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.7102, allocations: 485.1 kB / 0.7537 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.7106, allocations: 117.3 kB / 0.7538 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.7107, allocations: 49.88 kB / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.7108, allocations: 11.94 kB / 0.7538 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.711, allocations: 105.1 kB / 0.7539 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.769e-06/0.711, allocations: 0 / 0.7539 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0003812/0.7114, allocations: 117.4 kB / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.7115, allocations: 81.19 kB / 0.7541 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.7117, allocations: 151.2 kB / 0.7543 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.7118, allocations: 25.7 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.7119, allocations: 116.2 kB / 0.7544 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.7119, allocations: 39.44 kB / 0.7544 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.712, allocations: 0 / 0.7544 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.7122, allocations: 322.8 kB / 0.7547 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.7123, allocations: 36 kB / 0.7548 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.7124, allocations: 53.7 kB / 0.7548 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.7126, allocations: 43.94 kB / 0.7549 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.052e-06/0.7126, allocations: 112 / 0.7549 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003527/0.7129, allocations: 137.3 kB / 0.755 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.713, allocations: 8 kB / 0.755 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.455e-06/0.713, allocations: 0 / 0.755 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.713, allocations: 0 / 0.755 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.7133, allocations: 35.97 kB / 0.755 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.401e-06/0.7133, allocations: 4 kB / 0.755 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.7136, allocations: 23.97 kB / 0.7551 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.7136, allocations: 8 kB / 0.7551 GB, free: 14.02 MB / 0.6355 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 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.7138, allocations: 116.8 kB / 0.7552 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.7138, allocations: 15.81 kB / 0.7552 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.7142, allocations: 143.5 kB / 0.7553 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.263e-06/0.7143, allocations: 7.984 kB / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-06/0.7143, allocations: 0 / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-06/0.7143, allocations: 0 / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.7146, allocations: 206 kB / 0.7555 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7146, allocations: 3.938 kB / 0.7555 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.7148, allocations: 31.92 kB / 0.7556 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-06/0.7149, allocations: 3.953 kB / 0.7556 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.7149, allocations: 7.984 kB / 0.7556 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.7149, allocations: 4 kB / 0.7556 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7149, allocations: 0 / 0.7556 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.7153, allocations: 163.5 kB / 0.7557 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.7154, allocations: 96.88 kB / 0.7558 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.7154, allocations: 0 / 0.7558 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.7157, allocations: 23.97 kB / 0.7559 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.7158, allocations: 15.98 kB / 0.7559 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.7158, allocations: 7.984 kB / 0.7559 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001325/0.716, allocations: 116 kB / 0.756 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.73e-07/0.716, allocations: 0 / 0.756 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003258/0.7163, allocations: 31.94 kB / 0.756 GB, free: 12.95 MB / 0.6355 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.7165, allocations: 107.2 kB / 0.7561 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.7168, allocations: 91.94 kB / 0.7562 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.082e-06/0.7168, allocations: 0 / 0.7562 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.717, allocations: 55.92 kB / 0.7563 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.7174, allocations: 42.41 kB / 0.7563 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.7179, allocations: 157.6 kB / 0.7565 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.7183, allocations: 0.7123 MB / 0.7572 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.7185, allocations: 16.77 kB / 0.7572 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.7185, allocations: 15.44 kB / 0.7572 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.515e-06/0.7186, allocations: 3.938 kB / 0.7572 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.006679/0.7252, allocations: 2.007 MB / 0.7591 GB, free: 9.73 MB / 0.6355 GB