Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001366/0.001366, allocations: 78.58 kB / 19.01 MB, free: 2.859 MB / 14.72 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.001415/0.001415, allocations: 156.6 kB / 22.26 MB, free: 5.105 MB / 14.72 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.418/1.418, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002502/0.002502, allocations: 225.2 kB / 259.2 MB, free: 0.5898 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.071/1.071, allocations: 138.5 MB / 454.2 MB, free: 2.043 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003091/0.003091, allocations: 103.8 kB / 0.6466 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3712, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002997/0.3742, allocations: 1.487 MB / 0.7411 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3754, allocations: 0.6423 MB / 0.7418 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.3754, allocations: 0 / 0.7418 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.121e-05/0.3755, allocations: 15.86 kB / 0.7418 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.3755, allocations: 11.86 kB / 0.7418 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.3765, allocations: 368.3 kB / 0.7421 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3768, allocations: 175.6 kB / 0.7423 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3768, allocations: 4 kB / 0.7423 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.377, allocations: 99.84 kB / 0.7424 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.377, allocations: 43.77 kB / 0.7424 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3771, allocations: 12 kB / 0.7425 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.3775, allocations: 275.7 kB / 0.7427 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.3776, allocations: 39.89 kB / 0.7428 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.3777, allocations: 51.78 kB / 0.7428 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.3781, allocations: 312.2 kB / 0.7431 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3781, allocations: 0 / 0.7431 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3781, allocations: 0 / 0.7431 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3781, allocations: 0 / 0.7431 GB, free: 11.69 MB / 0.5762 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.0006516/0.3788, allocations: 401.4 kB / 0.7435 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3788, allocations: 8.75 kB / 0.7435 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.3789, allocations: 12.89 kB / 0.7435 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3791, allocations: 166.3 kB / 0.7437 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3791, allocations: 4.375 kB / 0.7437 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.3792, allocations: 12.38 kB / 0.7437 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3794, allocations: 96.73 kB / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3794, allocations: 192 / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3794, allocations: 11.94 kB / 0.7438 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3794, allocations: 3.938 kB / 0.7438 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.3795, allocations: 43.91 kB / 0.7438 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.3797, allocations: 175.1 kB / 0.744 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3799, allocations: 95.83 kB / 0.7441 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.38, allocations: 70.7 kB / 0.7442 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.38, allocations: 4 kB / 0.7442 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.3803, allocations: 136.8 kB / 0.7443 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.3803, allocations: 0 / 0.7443 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0004358/0.3807, allocations: 209.5 kB / 0.7445 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.3808, allocations: 118.8 kB / 0.7446 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3809, allocations: 140.1 kB / 0.7447 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.381, allocations: 37.64 kB / 0.7448 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.381, allocations: 100.6 kB / 0.7449 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.3811, allocations: 63.52 kB / 0.7449 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3812, allocations: 65.62 kB / 0.745 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3814, allocations: 326.8 kB / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3815, allocations: 56.25 kB / 0.7454 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.3819, allocations: 463.2 kB / 0.7458 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3821, allocations: 130.5 kB / 0.7459 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3821, allocations: 4 kB / 0.7459 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003223/0.3824, allocations: 205.3 kB / 0.7461 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3824, allocations: 8 kB / 0.7461 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.3824, allocations: 4 kB / 0.7461 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3824, allocations: 0 / 0.7461 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.3825, allocations: 19.98 kB / 0.7462 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3825, allocations: 7.938 kB / 0.7462 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3828, allocations: 47.84 kB / 0.7462 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3828, allocations: 4 kB / 0.7462 GB, free: 8.152 MB / 0.5762 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.0001318/0.3829, allocations: 144.6 kB / 0.7464 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3829, allocations: 15.84 kB / 0.7464 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.383, allocations: 16.78 kB / 0.7464 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.383, allocations: 0 / 0.7464 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.383, allocations: 8 kB / 0.7464 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.383, allocations: 0 / 0.7464 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3831, allocations: 137.2 kB / 0.7465 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3831, allocations: 0 / 0.7465 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.3832, allocations: 19.92 kB / 0.7465 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3832, allocations: 3.938 kB / 0.7465 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3832, allocations: 4 kB / 0.7466 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3832, allocations: 0 / 0.7466 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3832, allocations: 0 / 0.7466 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.3835, allocations: 214.6 kB / 0.7468 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.3835, allocations: 19.84 kB / 0.7468 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.3835, allocations: 4 kB / 0.7468 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.3836, allocations: 4 kB / 0.7468 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.3837, allocations: 19.91 kB / 0.7468 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3837, allocations: 4 kB / 0.7468 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.712e-05/0.3838, allocations: 103.3 kB / 0.7469 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3838, allocations: 0 / 0.7469 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003392/0.3841, allocations: 103.8 kB / 0.747 GB, free: 7.277 MB / 0.5762 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.0003061/0.3844, allocations: 198.9 kB / 0.7472 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3847, allocations: 206 kB / 0.7474 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3847, allocations: 4 kB / 0.7474 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.3848, allocations: 55.91 kB / 0.7474 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.385, allocations: 10.75 kB / 0.7475 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.3855, allocations: 248.6 kB / 0.7477 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.3856, allocations: 88.81 kB / 0.7478 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.3856, allocations: 13.25 kB / 0.7478 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3856, allocations: 20.5 kB / 0.7478 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.3856, allocations: 7.938 kB / 0.7478 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of Templates: time 0.00681/0.3924, allocations: 3.223 MB / 0.751 GB, free: 3.227 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896545389667153] Failed to read output from testmodel.py, exit status != 0: 0.4007434956729412 0.41532421999999997 0.034098597 Calling exit ...