Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001402/0.001402, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001703/0.001703, allocations: 181 kB / 23.36 MB, free: 1.133 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.996/0.996, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.396/2.396, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.233e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002915/0.002937, allocations: 1.572 MB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.00407, allocations: 0.6613 MB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.004115, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.476e-05/0.0042, allocations: 15.86 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.00428, allocations: 15.86 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.005204, allocations: 327 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.005472, allocations: 175.6 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.005521, allocations: 11.98 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.005657, allocations: 91.86 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.005742, allocations: 39.89 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.005776, allocations: 12 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.006291, allocations: 311.4 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.006356, allocations: 35.89 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.006422, allocations: 43.91 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.006855, allocations: 323.2 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006858, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006859, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.006863, allocations: 4 kB / 0.8421 GB, free: 10.53 MB / 0.8073 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.0005235/0.007387, allocations: 383.9 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007424, allocations: 12.62 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.007471, allocations: 12.92 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.007663, allocations: 145.6 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.007678, allocations: 4.375 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.007703, allocations: 12.38 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.007826, allocations: 75.62 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.007836, allocations: 4.125 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.007845, allocations: 384 / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.007851, allocations: 8.375 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.007905, allocations: 32.41 kB / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.008068, allocations: 115.1 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.00817, allocations: 76.06 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.008228, allocations: 42.66 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.008241, allocations: 11.92 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.008401, allocations: 116.7 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.008402, allocations: 0 / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0002221/0.008624, allocations: 118 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.008695, allocations: 118.8 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.008798, allocations: 148.5 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.008833, allocations: 33.7 kB / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.008879, allocations: 96.61 kB / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.008936, allocations: 51.61 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.009023, allocations: 61.66 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.009123, allocations: 326.8 kB / 0.844 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.009175, allocations: 19.09 kB / 0.844 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.009408, allocations: 416.8 kB / 0.8444 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.009537, allocations: 98.89 kB / 0.8445 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009539, allocations: 4 kB / 0.8445 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00019/0.009729, allocations: 126 kB / 0.8447 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.009745, allocations: 8 kB / 0.8447 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.009765, allocations: 0 / 0.8447 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.00978, allocations: 4 kB / 0.8447 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.009895, allocations: 23.98 kB / 0.8447 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.009901, allocations: 7.938 kB / 0.8447 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.01005, allocations: 35.83 kB / 0.8447 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01006, allocations: 0 / 0.8447 GB, free: 7.48 MB / 0.8073 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.0001129/0.01017, allocations: 143.2 kB / 0.8449 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.0102, allocations: 12 kB / 0.8449 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.01023, allocations: 12.77 kB / 0.8449 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01023, allocations: 4 kB / 0.8449 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01023, allocations: 0 / 0.8449 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01024, allocations: 3.938 kB / 0.8449 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.01035, allocations: 101.7 kB / 0.845 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01036, allocations: 0 / 0.845 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.0104, allocations: 15.94 kB / 0.845 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01041, allocations: 4 kB / 0.845 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01042, allocations: 3.984 kB / 0.845 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01042, allocations: 4 kB / 0.845 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01042, allocations: 4 kB / 0.845 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.01058, allocations: 131 kB / 0.8452 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.0106, allocations: 15.89 kB / 0.8452 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01062, allocations: 11.88 kB / 0.8452 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.01067, allocations: 7.984 kB / 0.8452 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.01071, allocations: 11.98 kB / 0.8452 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01072, allocations: 4 kB / 0.8452 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.01075, allocations: 31.33 kB / 0.8452 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01075, allocations: 0 / 0.8452 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003395/0.01109, allocations: 99.8 kB / 0.8453 GB, free: 6.816 MB / 0.8073 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.0003077/0.0114, allocations: 212.4 kB / 0.8455 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01163, allocations: 162.2 kB / 0.8457 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.01164, allocations: 3.938 kB / 0.8457 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.01169, allocations: 38.89 kB / 0.8457 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.01181, allocations: 11.98 kB / 0.8457 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.01219, allocations: 241.6 kB / 0.846 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.01223, allocations: 71.83 kB / 0.846 GB, free: 6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.01228, allocations: 12.98 kB / 0.846 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01239, allocations: 79.34 kB / 0.8461 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of SimCode: time 8.21e-07/0.01239, allocations: 0 / 0.8461 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.006646/0.01903, allocations: 3.465 MB / 0.8495 GB, free: 2.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.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.284143636003137]