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.001177/0.001177, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001209/0.001209, allocations: 173 kB / 23.49 MB, free: 1.051 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.9736/0.9736, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.055/2.055, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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.543e-06/1.543e-06, allocations: 0 / 0.8781 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.875e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001792/0.00181, allocations: 1.54 MB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007795/0.00259, allocations: 0.6543 MB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.00263, allocations: 0 / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.875e-05/0.002709, allocations: 15.86 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.002773, allocations: 15.84 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.003485, allocations: 357 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.003695, allocations: 175.6 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.003741, allocations: 1.094 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.00384, allocations: 99.84 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.003913, allocations: 40.95 kB / 0.881 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.003943, allocations: 12 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.004228, allocations: 279.5 kB / 0.8812 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.004294, allocations: 44.86 kB / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.004357, allocations: 39.91 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.004676, allocations: 332.7 kB / 0.8816 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004678, allocations: 0 / 0.8816 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004679, allocations: 0 / 0.8816 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.004683, allocations: 4 kB / 0.8816 GB, free: 3.078 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.0004913/0.005174, allocations: 0.4923 MB / 0.8821 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005212, allocations: 13.91 kB / 0.8821 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.005273, allocations: 20.83 kB / 0.8822 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.005438, allocations: 148.4 kB / 0.8823 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005451, allocations: 8.375 kB / 0.8823 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.00547, allocations: 8.375 kB / 0.8823 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.0056, allocations: 98.5 kB / 0.8824 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005611, allocations: 192 / 0.8824 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.005623, allocations: 4.375 kB / 0.8824 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.00563, allocations: 4.375 kB / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.005685, allocations: 32.98 kB / 0.8825 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.005859, allocations: 192 kB / 0.8826 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.005964, allocations: 106.9 kB / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.006031, allocations: 67.19 kB / 0.8828 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.006041, allocations: 4 kB / 0.8828 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.006199, allocations: 140.5 kB / 0.8829 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.0062, allocations: 0 / 0.8829 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0002874/0.006487, allocations: 165.4 kB / 0.8831 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.006543, allocations: 114.8 kB / 0.8832 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.006734, allocations: 199.9 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.00676, allocations: 41.7 kB / 0.8834 GB, free: 1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.006814, allocations: 139.4 kB / 0.8836 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.006862, allocations: 61.62 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.006921, allocations: 63.36 kB / 0.8837 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.007036, allocations: 0.5001 MB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.007083, allocations: 24.27 kB / 0.8842 GB, free: 192 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.007291, allocations: 450.9 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.007408, allocations: 115.7 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.007411, allocations: 4 kB / 0.8847 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001801/0.007591, allocations: 166.5 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.007606, allocations: 8 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.007625, allocations: 4 kB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007639, allocations: 7.938 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.00774, allocations: 27.92 kB / 0.8849 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.007747, allocations: 4 kB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.007859, allocations: 35.86 kB / 0.885 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.00787, allocations: 8 kB / 0.885 GB, free: 15.23 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 9.386e-05/0.007963, allocations: 175.2 kB / 0.8852 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.007983, allocations: 19.91 kB / 0.8852 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.008013, allocations: 12.92 kB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.008019, allocations: 15.92 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.008025, allocations: 0 / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.00803, allocations: 3.938 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.008134, allocations: 148.5 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008136, allocations: 0 / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.008167, allocations: 15.98 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008169, allocations: 0 / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.008179, allocations: 11.94 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008181, allocations: 0.9375 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.008183, allocations: 3.938 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.008359, allocations: 195.6 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.008372, allocations: 19.84 kB / 0.8856 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.008389, allocations: 0 / 0.8856 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.008417, allocations: 11.98 kB / 0.8856 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.00846, allocations: 7.984 kB / 0.8856 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.008466, allocations: 8 kB / 0.8856 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.008517, allocations: 141.4 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008517, allocations: 0 / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000216/0.008733, allocations: 103.8 kB / 0.8859 GB, free: 14.28 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.0002211/0.008954, allocations: 218.9 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.009154, allocations: 196.5 kB / 0.8862 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009156, allocations: 0 / 0.8862 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.009204, allocations: 43.61 kB / 0.8863 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.009331, allocations: 18.23 kB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.009662, allocations: 225.8 kB / 0.8865 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.009702, allocations: 71.83 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.009737, allocations: 12.97 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.009763, allocations: 20.5 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.009764, allocations: 0 / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.004602/0.01437, allocations: 3.266 MB / 0.8898 GB, free: 10.2 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.335659147938713]