Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001326/0.001326, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001019/0.001019, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9854/0.9854, allocations: 177.1 MB / 204.5 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.225/2.225, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8794 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.273e-05, allocations: 2.969 kB / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002814/0.002837, allocations: 1.534 MB / 0.8809 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003889, allocations: 0.6518 MB / 0.8815 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.003943, allocations: 4 kB / 0.8815 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.004031, allocations: 11.86 kB / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.004115, allocations: 15.81 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.005078, allocations: 355 kB / 0.8819 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.005326, allocations: 171.6 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.005373, allocations: 4.906 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.005498, allocations: 95.86 kB / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.005582, allocations: 40.94 kB / 0.8822 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.005612, allocations: 12 kB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.006041, allocations: 279.5 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.006109, allocations: 52.83 kB / 0.8825 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.006176, allocations: 43.89 kB / 0.8825 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.006602, allocations: 323.2 kB / 0.8828 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.006606, allocations: 5.094 kB / 0.8828 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.006607, allocations: 0 / 0.8828 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.006611, allocations: 0 / 0.8828 GB, free: 2.516 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005655/0.007176, allocations: 0.4967 MB / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.007212, allocations: 12.69 kB / 0.8833 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.007268, allocations: 16.84 kB / 0.8834 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.007461, allocations: 153 kB / 0.8835 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.007478, allocations: 8.359 kB / 0.8835 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.007504, allocations: 13.72 kB / 0.8835 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.007635, allocations: 85.27 kB / 0.8836 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.007644, allocations: 4.188 kB / 0.8836 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.007653, allocations: 4.906 kB / 0.8836 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.007659, allocations: 384 / 0.8836 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.007712, allocations: 29.28 kB / 0.8836 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.007909, allocations: 164.5 kB / 0.8838 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.008026, allocations: 109.4 kB / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.008085, allocations: 48.44 kB / 0.8839 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.008095, allocations: 7.938 kB / 0.884 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.008265, allocations: 130.3 kB / 0.8841 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.008266, allocations: 0 / 0.8841 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003193/0.008585, allocations: 158.6 kB / 0.8842 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.008654, allocations: 114.8 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008775, allocations: 204 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.008812, allocations: 45.17 kB / 0.8846 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.008884, allocations: 143.4 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.008946, allocations: 55.59 kB / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.009033, allocations: 59.34 kB / 0.8848 GB, free: 240 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.009206, allocations: 0.504 MB / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.009251, allocations: 16.27 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.009516, allocations: 457.7 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.009654, allocations: 98.94 kB / 0.8859 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.009658, allocations: 3.984 kB / 0.8859 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002231/0.009882, allocations: 150.3 kB / 0.886 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.009897, allocations: 8 kB / 0.886 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.00992, allocations: 8.938 kB / 0.886 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.00993, allocations: 0 / 0.886 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.01005, allocations: 27.98 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01005, allocations: 7.938 kB / 0.8861 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.0102, allocations: 39.23 kB / 0.8861 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.01021, allocations: 4 kB / 0.8861 GB, free: 14.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001141/0.01033, allocations: 179.3 kB / 0.8863 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.01036, allocations: 19.91 kB / 0.8863 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.01039, allocations: 12.78 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01039, allocations: 4 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01039, allocations: 11.88 kB / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.0104, allocations: 3.984 kB / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01053, allocations: 129.2 kB / 0.8864 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01053, allocations: 0 / 0.8864 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.01057, allocations: 15.92 kB / 0.8865 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01058, allocations: 0 / 0.8865 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01058, allocations: 4 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01059, allocations: 0 / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01059, allocations: 4 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01082, allocations: 187.6 kB / 0.8866 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.01083, allocations: 23.78 kB / 0.8867 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01085, allocations: 4 kB / 0.8867 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.0109, allocations: 11.94 kB / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01094, allocations: 11.97 kB / 0.8867 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01095, allocations: 4 kB / 0.8867 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.01101, allocations: 137.5 kB / 0.8868 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01101, allocations: 0 / 0.8868 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003659/0.01138, allocations: 103.8 kB / 0.8869 GB, free: 13.86 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004698/0.01185, allocations: 231.1 kB / 0.8871 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.01221, allocations: 172.7 kB / 0.8873 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.01221, allocations: 0 / 0.8873 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.01228, allocations: 37.67 kB / 0.8873 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.01247, allocations: 17.31 kB / 0.8874 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.01281, allocations: 231.8 kB / 0.8876 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01285, allocations: 67.84 kB / 0.8877 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.01289, allocations: 13.25 kB / 0.8877 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.01298, allocations: 106.2 kB / 0.8878 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/0.01298, allocations: 0 / 0.8878 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.004915/0.01789, allocations: 3.583 MB / 0.8913 GB, free: 9.379 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.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.5681772930547595]