Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 113.3 kB / 17.08 MB, free: 5.797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 190.2 kB / 20.02 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.848/2.848, allocations: 437.1 MB / 0.7178 GB, free: 4.898 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 75.88 kB / 1.028 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3705, allocations: 151.6 MB / 1.176 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003505/0.374, allocations: 1.404 MB / 1.177 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3752, allocations: 0.5021 MB / 1.178 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.3753, allocations: 0 / 1.178 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.3754, allocations: 3.938 kB / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.3755, allocations: 15.91 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009218/0.3765, allocations: 231.4 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.3767, allocations: 143.8 kB / 1.178 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.3768, allocations: 11.94 kB / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.3769, allocations: 55.89 kB / 1.178 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.377, allocations: 39.84 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.3771, allocations: 8 kB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.3774, allocations: 171.8 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3775, allocations: 35.89 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3776, allocations: 55.78 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.3781, allocations: 239.3 kB / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3781, allocations: 0 / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3781, allocations: 0 / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3781, allocations: 0 / 1.179 GB, free: 3.172 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008371/0.3789, allocations: 457 kB / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.379, allocations: 8.031 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.3791, allocations: 16.88 kB / 1.179 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3794, allocations: 208.1 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3794, allocations: 8.375 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.3795, allocations: 16.38 kB / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3797, allocations: 79.95 kB / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3797, allocations: 192 / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3797, allocations: 3.938 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3798, allocations: 0 / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3799, allocations: 47.84 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.3802, allocations: 234.5 kB / 1.18 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3804, allocations: 85.23 kB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.3805, allocations: 57.75 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3805, allocations: 0 / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.3808, allocations: 112.6 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3808, allocations: 0 / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0004145/0.3813, allocations: 193.4 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.3813, allocations: 85.11 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3815, allocations: 152.3 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.3816, allocations: 33.7 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.3817, allocations: 108.5 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.3817, allocations: 31.75 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.3818, allocations: 57.62 kB / 1.181 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.382, allocations: 330.8 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.3821, allocations: 35.98 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.3824, allocations: 203.3 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3825, allocations: 93.64 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3825, allocations: 4 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002615/0.3828, allocations: 161.4 kB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3828, allocations: 7.984 kB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.3829, allocations: 4 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3829, allocations: 0 / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.383, allocations: 15.94 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.383, allocations: 8 kB / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3833, allocations: 70.02 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3833, allocations: 4 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001513/0.3835, allocations: 141.7 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.3835, allocations: 11.89 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.3836, allocations: 16.7 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3836, allocations: 4 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3836, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3836, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3838, allocations: 201.5 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3839, allocations: 7.938 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.3839, allocations: 11.94 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3839, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3839, allocations: 4 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3839, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3839, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3842, allocations: 173.9 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.3843, allocations: 92.95 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.3843, allocations: 7.922 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.3844, allocations: 12 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3844, allocations: 96 / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3844, allocations: 7.984 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.746e-05/0.3845, allocations: 111.2 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3845, allocations: 0 / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003494/0.3849, allocations: 79.8 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003181/0.3852, allocations: 167.1 kB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3855, allocations: 171.3 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3856, allocations: 0 / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.3856, allocations: 39.98 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.3858, allocations: 11.88 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.3864, allocations: 252.9 kB / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3868, allocations: 0.7119 MB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3868, allocations: 11.44 kB / 1.184 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3868, allocations: 0 / 1.184 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.005109/0.3919, allocations: 2.447 MB / 1.186 GB, free: 11.15 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,occSchDay.tNexNonOcc,occSchWee.tNexNonOcc,occSchDay.occupied,occSchWee.occupied Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchWee.occupied,occSchWee.tNexNonOcc,time [Calling sys.exit(0), Time elapsed: 11.452533071977086]