Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001745/0.001745, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001875/0.001875, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.591/1.591, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.631/3.631, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.003043/0.003043, allocations: 71.27 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4925, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003306/0.4958, allocations: 1.501 MB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.4971, allocations: 0.6773 MB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.4972, allocations: 4 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.3e-05/0.4973, allocations: 7.922 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.4973, allocations: 11.88 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.4985, allocations: 358.2 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.4987, allocations: 167.7 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.4988, allocations: 8 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4989, allocations: 79.75 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.499, allocations: 43.89 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.4991, allocations: 12 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.4995, allocations: 255.7 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.4995, allocations: 39.89 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.4996, allocations: 63.66 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.5001, allocations: 303 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5001, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5001, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.5002, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 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.0008113/0.501, allocations: 482.4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.501, allocations: 15.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.5011, allocations: 20.84 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.5014, allocations: 212.2 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5014, allocations: 8.375 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.5015, allocations: 12.38 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.5017, allocations: 96.73 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5017, allocations: 4.188 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.5017, allocations: 3.938 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5017, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5018, allocations: 51.97 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.5022, allocations: 251.3 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.5024, allocations: 95.92 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.5025, allocations: 74.59 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.5025, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.5028, allocations: 133.9 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.5028, allocations: 3.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0005003/0.5033, allocations: 217.4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5034, allocations: 118.8 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.5036, allocations: 148 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.5036, allocations: 37.7 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.5037, allocations: 96.7 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.5038, allocations: 51.62 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.5039, allocations: 61.69 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.5041, allocations: 330.8 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.5042, allocations: 52.27 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.5045, allocations: 180.5 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.5047, allocations: 134.5 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5047, allocations: 0 / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003645/0.5051, allocations: 209.2 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5051, allocations: 4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.5051, allocations: 4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5051, allocations: 7.938 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5052, allocations: 15.98 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5052, allocations: 7.938 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.5055, allocations: 43.84 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.5055, allocations: 12 kB / 1.328 GB, free: 11.86 MB / 1.029 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.0001627/0.5057, allocations: 140 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.5057, allocations: 19.84 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.5057, allocations: 8.719 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5057, allocations: 4 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5057, allocations: 0 / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5058, allocations: 3.984 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.506, allocations: 209.5 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.506, allocations: 8 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.506, allocations: 11.98 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.506, allocations: 0 / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.5061, allocations: 7.938 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5061, allocations: 3.938 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5061, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.5064, allocations: 217.8 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.5065, allocations: 96.95 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.5065, allocations: 8 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.5066, allocations: 3.938 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.5066, allocations: 16.12 kB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5066, allocations: 4 kB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.372e-05/0.5067, allocations: 109 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5067, allocations: 0 / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004038/0.5071, allocations: 103.7 kB / 1.329 GB, free: 10.8 MB / 1.029 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.0003904/0.5075, allocations: 202.9 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.5079, allocations: 213.3 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5079, allocations: 0 / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.508, allocations: 47.92 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.5082, allocations: 11.94 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.5087, allocations: 248.6 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5091, allocations: 0.7083 MB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.274e-05/0.5092, allocations: 12.88 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.5092, allocations: 15.44 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.5092, allocations: 0 / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of Templates: time 0.007663/0.5169, allocations: 3.103 MB / 1.333 GB, free: 6.195 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.452331562992185]