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.001043/0.001043, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00124/0.00124, allocations: 166 kB / 24.86 MB, free: 8.676 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.6063 GB, free: 10.88 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.533e-06/1.533e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.643e-05, allocations: 2.859 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002695/0.002722, allocations: 1.458 MB / 0.7897 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003801, allocations: 483.1 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.003846, allocations: 0 / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.003926, allocations: 8.562 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.003999, allocations: 20.53 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.004806, allocations: 240.1 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.005019, allocations: 144.8 kB / 0.7905 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.005062, allocations: 4 kB / 0.7906 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.005172, allocations: 83.8 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.005247, allocations: 34.78 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.005273, allocations: 8 kB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.005584, allocations: 195.6 kB / 0.7909 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.005643, allocations: 35.91 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.005699, allocations: 35.91 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.006038, allocations: 251.3 kB / 0.7912 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.006041, allocations: 1.406 kB / 0.7912 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006043, allocations: 0 / 0.7912 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.006047, allocations: 0 / 0.7912 GB, free: 9.289 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.0005175/0.006565, allocations: 476.5 kB / 0.7916 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.006601, allocations: 8.938 kB / 0.7916 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.006657, allocations: 20.89 kB / 0.7917 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.006831, allocations: 142 kB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.006847, allocations: 13.12 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.00687, allocations: 8.375 kB / 0.7918 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.006977, allocations: 75.06 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.006985, allocations: 192 / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.006993, allocations: 384 / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006999, allocations: 384 / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.00704, allocations: 25.09 kB / 0.7919 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.007214, allocations: 160.8 kB / 0.7921 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.007299, allocations: 66.09 kB / 0.7921 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.007343, allocations: 48.05 kB / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.007349, allocations: 2.5 kB / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.007483, allocations: 96.33 kB / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.007484, allocations: 0 / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002408/0.007724, allocations: 118 kB / 0.7924 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.007781, allocations: 81.11 kB / 0.7924 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.007906, allocations: 202.8 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.007938, allocations: 34.23 kB / 0.7927 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.008011, allocations: 151.9 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.008058, allocations: 31.73 kB / 0.7929 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.008142, allocations: 67.84 kB / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.008295, allocations: 0.4961 MB / 0.7934 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.00833, allocations: 17.61 kB / 0.7934 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.008623, allocations: 0.5913 MB / 0.794 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.008719, allocations: 67.22 kB / 0.7941 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008721, allocations: 0 / 0.7941 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000174/0.008895, allocations: 122.1 kB / 0.7942 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.008909, allocations: 4 kB / 0.7942 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.008928, allocations: 4.688 kB / 0.7942 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.008937, allocations: 0.6875 kB / 0.7942 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.009034, allocations: 27.92 kB / 0.7942 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.009038, allocations: 4.875 kB / 0.7942 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.009195, allocations: 37.23 kB / 0.7943 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.009205, allocations: 4 kB / 0.7943 GB, free: 5.715 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.0001043/0.00931, allocations: 170.5 kB / 0.7944 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.009333, allocations: 15.91 kB / 0.7944 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.009362, allocations: 12.78 kB / 0.7944 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.009365, allocations: 0 / 0.7944 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.009369, allocations: 8.797 kB / 0.7945 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.009374, allocations: 4 kB / 0.7945 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.009491, allocations: 121.2 kB / 0.7946 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009492, allocations: 0.8438 kB / 0.7946 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.009527, allocations: 7.938 kB / 0.7946 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.009531, allocations: 5.688 kB / 0.7946 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.009538, allocations: 0 / 0.7946 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.00954, allocations: 0 / 0.7946 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.009543, allocations: 3.984 kB / 0.7946 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.009722, allocations: 148.8 kB / 0.7947 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.00974, allocations: 11.89 kB / 0.7947 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009759, allocations: 4 kB / 0.7947 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.009798, allocations: 6.219 kB / 0.7948 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.00983, allocations: 3.984 kB / 0.7948 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.009839, allocations: 8 kB / 0.7948 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.009905, allocations: 152.8 kB / 0.7949 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009905, allocations: 3.938 kB / 0.7949 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003375/0.01024, allocations: 77.98 kB / 0.795 GB, free: 4.914 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.0002373/0.01048, allocations: 176.6 kB / 0.7952 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.01066, allocations: 119 kB / 0.7953 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01066, allocations: 0 / 0.7953 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.0107, allocations: 37.78 kB / 0.7953 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.01088, allocations: 4.531 kB / 0.7953 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01123, allocations: 218.3 kB / 0.7955 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01128, allocations: 67.34 kB / 0.7956 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.01132, allocations: 8.719 kB / 0.7956 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.01143, allocations: 102.2 kB / 0.7957 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01143, allocations: 1.156 kB / 0.7957 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.006025/0.01745, allocations: 2.943 MB / 0.7986 GB, free: 1.246 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: 5.1509258220903575]