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.0009842/0.0009842, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00101/0.00101, allocations: 161.4 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.9543/0.9543, allocations: 177.1 MB / 204.2 MB, free: 5.637 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 1.777/1.777, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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 1.724e-06/1.724e-06, allocations: 0 / 0.787 GB, free: 11.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.975e-05, allocations: 7.844 kB / 0.7871 GB, free: 11.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001767/0.001787, allocations: 1.457 MB / 0.7885 GB, free: 9.969 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.002484, allocations: 0.4922 MB / 0.789 GB, free: 9.477 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.00252, allocations: 0 / 0.789 GB, free: 9.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.804e-05/0.002598, allocations: 7.938 kB / 0.789 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.002661, allocations: 21.16 kB / 0.789 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.00333, allocations: 239.2 kB / 0.7892 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.003502, allocations: 148.3 kB / 0.7894 GB, free: 9.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.003542, allocations: 9.234 kB / 0.7894 GB, free: 9.062 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.003622, allocations: 75.88 kB / 0.7894 GB, free: 8.988 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.003688, allocations: 40.89 kB / 0.7895 GB, free: 8.949 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.003713, allocations: 8 kB / 0.7895 GB, free: 8.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.003964, allocations: 187.7 kB / 0.7897 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.004019, allocations: 37.3 kB / 0.7897 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.004076, allocations: 39.89 kB / 0.7897 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.004344, allocations: 251.3 kB / 0.79 GB, free: 8.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004345, allocations: 0.5625 kB / 0.79 GB, free: 8.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004346, allocations: 0 / 0.79 GB, free: 8.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.00435, allocations: 0.7812 kB / 0.79 GB, free: 8.438 MB / 0.698 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.000488/0.004838, allocations: 476.5 kB / 0.7904 GB, free: 7.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.004878, allocations: 8.031 kB / 0.7904 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.004945, allocations: 16.89 kB / 0.7905 GB, free: 7.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.005113, allocations: 157.1 kB / 0.7906 GB, free: 7.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.005129, allocations: 8.375 kB / 0.7906 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.005147, allocations: 10.88 kB / 0.7906 GB, free: 7.715 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005271, allocations: 73.61 kB / 0.7907 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.00528, allocations: 192 / 0.7907 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005291, allocations: 384 / 0.7907 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.005298, allocations: 384 / 0.7907 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.005346, allocations: 27.84 kB / 0.7907 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.005525, allocations: 180.3 kB / 0.7909 GB, free: 7.387 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.005606, allocations: 71.83 kB / 0.791 GB, free: 7.293 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.005653, allocations: 35.58 kB / 0.791 GB, free: 7.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.005661, allocations: 4 kB / 0.791 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.005784, allocations: 108.9 kB / 0.7911 GB, free: 7.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 9.81e-07/0.005785, allocations: 0.5938 kB / 0.7911 GB, free: 7.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0002238/0.006009, allocations: 121.5 kB / 0.7912 GB, free: 6.992 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.006049, allocations: 86.16 kB / 0.7913 GB, free: 6.891 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.006148, allocations: 215.6 kB / 0.7915 GB, free: 6.664 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.00617, allocations: 37.69 kB / 0.7915 GB, free: 6.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.006223, allocations: 144.6 kB / 0.7917 GB, free: 6.473 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.006264, allocations: 39.73 kB / 0.7917 GB, free: 6.434 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.006316, allocations: 51.36 kB / 0.7918 GB, free: 6.375 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006442, allocations: 0.498 MB / 0.7923 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.006475, allocations: 19.92 kB / 0.7923 GB, free: 5.848 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.006709, allocations: 0.5953 MB / 0.7929 GB, free: 5.078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.006793, allocations: 71.3 kB / 0.7929 GB, free: 5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006795, allocations: 0 / 0.7929 GB, free: 5 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000136/0.006931, allocations: 126.9 kB / 0.793 GB, free: 4.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.006944, allocations: 4 kB / 0.793 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.00696, allocations: 4 kB / 0.7931 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.006975, allocations: 7.938 kB / 0.7931 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.007056, allocations: 17.88 kB / 0.7931 GB, free: 4.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007061, allocations: 0 / 0.7931 GB, free: 4.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.00718, allocations: 61.27 kB / 0.7931 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.007188, allocations: 4 kB / 0.7931 GB, free: 4.781 MB / 0.698 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 8.389e-05/0.007272, allocations: 172.7 kB / 0.7933 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.007285, allocations: 11.95 kB / 0.7933 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.007308, allocations: 12.77 kB / 0.7933 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.007312, allocations: 8.469 kB / 0.7933 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.007316, allocations: 0.7188 kB / 0.7933 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007319, allocations: 3.938 kB / 0.7933 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.007407, allocations: 145.1 kB / 0.7935 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007408, allocations: 1.656 kB / 0.7935 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.007425, allocations: 4 kB / 0.7935 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007428, allocations: 4 kB / 0.7935 GB, free: 4.383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.007435, allocations: 3.938 kB / 0.7935 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007436, allocations: 0 / 0.7935 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.007439, allocations: 8.438 kB / 0.7935 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.007565, allocations: 140.7 kB / 0.7936 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.007579, allocations: 15.84 kB / 0.7936 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.007598, allocations: 12.7 kB / 0.7937 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.007618, allocations: 4 kB / 0.7937 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.007655, allocations: 13.08 kB / 0.7937 GB, free: 4.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.007661, allocations: 8 kB / 0.7937 GB, free: 4.156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.007715, allocations: 144.7 kB / 0.7938 GB, free: 4.016 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.007715, allocations: 4.906 kB / 0.7938 GB, free: 4.012 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002242/0.007939, allocations: 71.86 kB / 0.7939 GB, free: 3.941 MB / 0.698 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.0001886/0.008128, allocations: 175.8 kB / 0.7941 GB, free: 3.762 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.008312, allocations: 128.2 kB / 0.7942 GB, free: 3.621 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008313, allocations: 0 / 0.7942 GB, free: 3.621 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.008352, allocations: 32.47 kB / 0.7942 GB, free: 3.586 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.008472, allocations: 17.95 kB / 0.7942 GB, free: 3.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.00881, allocations: 213 kB / 0.7944 GB, free: 3.332 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.008852, allocations: 71.34 kB / 0.7945 GB, free: 3.242 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.008883, allocations: 13.81 kB / 0.7945 GB, free: 3.227 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.008907, allocations: 12.5 kB / 0.7945 GB, free: 3.215 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/0.008908, allocations: 0 / 0.7945 GB, free: 3.215 MB / 0.698 GB Notification: Performance of Templates: time 0.004366/0.01327, allocations: 2.911 MB / 0.7974 GB, free: 392 kB / 0.698 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: 4.926475888118148]