Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.00138/0.00138, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001536/0.001536, allocations: 159.2 kB / 23.01 MB, free: 4.945 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.695/2.695, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [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.002356/0.002356, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3695, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003202/0.3727, allocations: 1.428 MB / 1.119 GB, free: 1.113 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3738, allocations: 470.4 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.3738, allocations: 3.938 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/0.3739, allocations: 11.92 kB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.374, allocations: 7.875 kB / 1.119 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.3749, allocations: 249.9 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3752, allocations: 147.8 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.3753, allocations: 3.984 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3754, allocations: 63.89 kB / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/0.3755, allocations: 35.84 kB / 1.12 GB, free: 144 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.3755, allocations: 12 kB / 1.12 GB, free: 132 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.376, allocations: 191.7 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.376, allocations: 35.91 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.3761, allocations: 47.78 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.3766, allocations: 239.3 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3766, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3766, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3766, allocations: 0 / 1.12 GB, free: 15.62 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006626/0.3773, allocations: 371.7 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3773, allocations: 11.97 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.3774, allocations: 16.84 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.3776, allocations: 150.4 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3776, allocations: 8.375 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3777, allocations: 12.38 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3778, allocations: 83.89 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3779, allocations: 192 / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3779, allocations: 7.922 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3779, allocations: 4 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.378, allocations: 31.98 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.3782, allocations: 162.2 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3784, allocations: 73.19 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.3785, allocations: 49.81 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3785, allocations: 4 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.3788, allocations: 113 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.3788, allocations: 0 / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0004692/0.3793, allocations: 189.4 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.3794, allocations: 85.09 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3795, allocations: 152.2 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.3796, allocations: 37.64 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3796, allocations: 100.5 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.3797, allocations: 43.67 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3798, allocations: 53.69 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.38, allocations: 330.8 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3801, allocations: 39.98 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.3809, allocations: 0.6032 MB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3811, allocations: 93.64 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3811, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000456/0.3816, allocations: 161.4 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3816, allocations: 11.94 kB / 1.123 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.3816, allocations: 0 / 1.123 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.3816, allocations: 4 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.3817, allocations: 12 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3817, allocations: 4 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.382, allocations: 82.03 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3821, allocations: 4 kB / 1.123 GB, free: 12.21 MB / 1.076 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.000159/0.3822, allocations: 141.9 kB / 1.123 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.3822, allocations: 15.88 kB / 1.123 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.3823, allocations: 12.78 kB / 1.123 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3823, allocations: 0 / 1.123 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3823, allocations: 0 / 1.123 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3823, allocations: 0 / 1.123 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3825, allocations: 137.2 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3825, allocations: 0 / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3826, allocations: 8 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3826, allocations: 0 / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3826, allocations: 3.938 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3826, allocations: 11.94 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3827, allocations: 3.984 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.383, allocations: 174.6 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.3831, allocations: 15.84 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.3831, allocations: 11.94 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.3832, allocations: 0 / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.3832, allocations: 7.984 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3832, allocations: 4 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001238/0.3834, allocations: 115.2 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3834, allocations: 0 / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004815/0.3838, allocations: 75.86 kB / 1.124 GB, free: 11.42 MB / 1.076 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.0003992/0.3842, allocations: 157.5 kB / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.3846, allocations: 159.3 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3846, allocations: 0 / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3847, allocations: 43.92 kB / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.385, allocations: 7.984 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.3857, allocations: 235.2 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3858, allocations: 93.05 kB / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.525e-05/0.3859, allocations: 8.734 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.3859, allocations: 20.44 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.3859, allocations: 0 / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of Templates: time 0.009693/0.3956, allocations: 2.709 MB / 1.127 GB, free: 7.977 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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: 8.978163908002898]