Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001622/0.001622, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001548/0.001548, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.952/2.952, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 63.89 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002599/1.022, allocations: 1.489 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001045/1.023, allocations: 0.6217 MB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/1.023, allocations: 1.375 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.858e-05/1.023, allocations: 12.02 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/1.023, allocations: 17.23 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/1.024, allocations: 352.1 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/1.024, allocations: 175.2 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/1.024, allocations: 7.891 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/1.024, allocations: 69.3 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/1.025, allocations: 49.36 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/1.025, allocations: 12 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/1.025, allocations: 279.9 kB / 1.19 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/1.025, allocations: 34.28 kB / 1.19 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/1.025, allocations: 54.69 kB / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/1.026, allocations: 302.8 kB / 1.19 GB, free: 14.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.026, allocations: 4 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.246e-06/1.026, allocations: 1.062 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.026, allocations: 3.938 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005954/1.026, allocations: 400.5 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.026, allocations: 10.36 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/1.026, allocations: 12.02 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/1.027, allocations: 149.6 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.027, allocations: 9.484 kB / 1.191 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/1.027, allocations: 13.41 kB / 1.191 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/1.027, allocations: 104.2 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.027, allocations: 4.797 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/1.027, allocations: 5.344 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.027, allocations: 1.312 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/1.027, allocations: 48.97 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/1.027, allocations: 168.9 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/1.027, allocations: 102.4 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/1.027, allocations: 62.16 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/1.027, allocations: 6.188 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/1.028, allocations: 141.2 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/1.028, allocations: 0 / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0004281/1.028, allocations: 215.8 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.028, allocations: 121 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.028, allocations: 140 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/1.028, allocations: 40 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/1.028, allocations: 95.97 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/1.028, allocations: 59.47 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/1.028, allocations: 64.48 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/1.029, allocations: 329.5 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/1.029, allocations: 47.42 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/1.029, allocations: 475.9 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/1.029, allocations: 138 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.029, allocations: 0.6094 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003375/1.029, allocations: 197.1 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.029, allocations: 5.719 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/1.03, allocations: 8.375 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.03, allocations: 2.156 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/1.03, allocations: 11.73 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.03, allocations: 6.156 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/1.03, allocations: 57.03 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/1.03, allocations: 8.938 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001274/1.03, allocations: 138.3 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/1.03, allocations: 20.84 kB / 1.193 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/1.03, allocations: 14.31 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.03, allocations: 1.344 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.03, allocations: 1.281 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.03, allocations: 1.984 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/1.03, allocations: 138.3 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.03, allocations: 8.938 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/1.03, allocations: 13.95 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.03, allocations: 4.875 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.03, allocations: 3.547 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.03, allocations: 1.859 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.03, allocations: 1.125 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/1.031, allocations: 212.7 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/1.031, allocations: 16.89 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/1.031, allocations: 6.781 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/1.031, allocations: 9.328 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/1.031, allocations: 12.28 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.031, allocations: 9.766 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.514e-05/1.031, allocations: 106.9 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.031, allocations: 0.6875 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004794/1.031, allocations: 102.3 kB / 1.194 GB, free: 11.09 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003021/1.032, allocations: 199.5 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003286/1.032, allocations: 205 kB / 1.194 GB, free: 10.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.032, allocations: 5.031 kB / 1.194 GB, free: 10.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/1.032, allocations: 41.55 kB / 1.194 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.032, allocations: 16.3 kB / 1.194 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/1.033, allocations: 258.4 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/1.033, allocations: 101.1 kB / 1.195 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.075e-05/1.033, allocations: 10.95 kB / 1.195 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/1.033, allocations: 19.88 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.033, allocations: 0 / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of Templates: time 0.007893/1.041, allocations: 3.225 MB / 1.198 GB, free: 10.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.40767860005144]