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.001338/0.001338, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009809/0.0009809, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9803/0.9803, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.137/2.137, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 0 / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.198e-05/5.48e-05, allocations: 5.641 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004604/0.004658, allocations: 1.477 MB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.005655, allocations: 499.4 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.005713, allocations: 0.9375 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.005857, allocations: 7.938 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.005948, allocations: 11.86 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.008385, allocations: 240.6 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.008806, allocations: 152.5 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.008884, allocations: 4 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.009057, allocations: 76.91 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.009174, allocations: 35.95 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.009215, allocations: 8.938 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.009749, allocations: 187.6 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.009871, allocations: 48.55 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.009966, allocations: 31.92 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.01056, allocations: 252.5 kB / 0.79 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.01057, allocations: 0 / 0.79 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.665e-06/0.01057, allocations: 0 / 0.79 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.01058, allocations: 0.5 kB / 0.79 GB, free: 9.551 MB / 0.7448 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.0009157/0.0115, allocations: 478.8 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.01156, allocations: 8.031 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.01169, allocations: 12.89 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.012, allocations: 156.4 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.01202, allocations: 8.375 kB / 0.7906 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.01206, allocations: 8.375 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.01227, allocations: 73.55 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.01229, allocations: 1.562 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.01231, allocations: 4.375 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.01233, allocations: 4.359 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.0124, allocations: 19.92 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.01272, allocations: 176.9 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.01286, allocations: 74.58 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.01294, allocations: 37.2 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.01295, allocations: 7.938 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.0132, allocations: 104.3 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.0132, allocations: 0 / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0004632/0.01366, allocations: 126.6 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.01376, allocations: 81.11 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01396, allocations: 212.9 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.014, allocations: 38.39 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01411, allocations: 143.2 kB / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.01419, allocations: 44.62 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.01429, allocations: 55.34 kB / 0.7918 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.01449, allocations: 0.4923 MB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.01456, allocations: 17.38 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.01497, allocations: 0.5969 MB / 0.7928 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01512, allocations: 79.23 kB / 0.7929 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.01512, allocations: 1.812 kB / 0.7929 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002305/0.01535, allocations: 121.5 kB / 0.793 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.01538, allocations: 7.938 kB / 0.793 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.01541, allocations: 4 kB / 0.793 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.01545, allocations: 3.938 kB / 0.7931 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.01561, allocations: 21.52 kB / 0.7931 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.01562, allocations: 4.141 kB / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.01582, allocations: 53.94 kB / 0.7931 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01584, allocations: 4 kB / 0.7931 GB, free: 5.895 MB / 0.7448 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.000153/0.01599, allocations: 173 kB / 0.7933 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.01602, allocations: 15.89 kB / 0.7933 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.01608, allocations: 13.31 kB / 0.7933 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.01608, allocations: 5.844 kB / 0.7933 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.01609, allocations: 4 kB / 0.7933 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.0161, allocations: 0 / 0.7933 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01628, allocations: 144.6 kB / 0.7935 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.01628, allocations: 4 kB / 0.7935 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.01633, allocations: 6.469 kB / 0.7935 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.01634, allocations: 4 kB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01635, allocations: 0 / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01635, allocations: 3.984 kB / 0.7935 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.01636, allocations: 7.969 kB / 0.7935 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.01669, allocations: 159.2 kB / 0.7936 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.01672, allocations: 11.89 kB / 0.7937 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.01675, allocations: 4.531 kB / 0.7937 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.0168, allocations: 0.7188 kB / 0.7937 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.01688, allocations: 15.92 kB / 0.7937 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.01689, allocations: 5.156 kB / 0.7937 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001029/0.01699, allocations: 145.6 kB / 0.7938 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01699, allocations: 0 / 0.7938 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004216/0.01742, allocations: 80.31 kB / 0.7939 GB, free: 5.051 MB / 0.7448 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.0004351/0.01785, allocations: 172.4 kB / 0.7941 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.01819, allocations: 127 kB / 0.7942 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.01819, allocations: 0.8438 kB / 0.7942 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.01826, allocations: 35.61 kB / 0.7942 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.01846, allocations: 9.719 kB / 0.7942 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.01898, allocations: 218.4 kB / 0.7944 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.01904, allocations: 67.34 kB / 0.7945 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.01908, allocations: 17.47 kB / 0.7945 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.01911, allocations: 12.5 kB / 0.7945 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of SimCode: time 1.473e-06/0.01911, allocations: 2.25 kB / 0.7945 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.005917/0.02503, allocations: 2.707 MB / 0.7972 GB, free: 1.68 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.146442429162562]