Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 199 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.145/3.145, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9749/0.9769, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003679/0.9807, allocations: 1.542 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.982, allocations: 0.6891 MB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.9821, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.777e-05/0.9822, allocations: 7.922 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.9823, allocations: 15.91 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009572/0.9833, allocations: 323.1 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.9837, allocations: 167.7 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.531e-05/0.9838, allocations: 19.88 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.9839, allocations: 67.84 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.984, allocations: 47.81 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.984, allocations: 12 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.9844, allocations: 255.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.9845, allocations: 39.89 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.9846, allocations: 59.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.9853, allocations: 301.3 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9853, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9853, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9853, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 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.0009145/0.9863, allocations: 475 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.9863, allocations: 8.031 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.9864, allocations: 20.73 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.9867, allocations: 209.4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.9867, allocations: 4.375 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.9867, allocations: 16.38 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.987, allocations: 96.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.987, allocations: 8.172 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.987, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.987, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.9873, allocations: 47.91 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.9876, allocations: 255.3 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.9878, allocations: 103.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.988, allocations: 70.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.988, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.9883, allocations: 146.9 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.9883, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004823/0.9888, allocations: 213.4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.9889, allocations: 126.7 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.9891, allocations: 139.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.9891, allocations: 41.7 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.9892, allocations: 96.69 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.9893, allocations: 59.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.9894, allocations: 61.69 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.9896, allocations: 326.8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.9897, allocations: 56.11 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.99, allocations: 180.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.9902, allocations: 134.5 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.9902, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004328/0.9907, allocations: 198 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.9907, allocations: 6.188 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/0.9907, allocations: 8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.9908, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.9909, allocations: 19.92 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9909, allocations: 7.938 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.9911, allocations: 47.8 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.9911, allocations: 8 kB / 1.023 GB, free: 11.69 MB / 0.7794 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.0001765/0.9913, allocations: 140.2 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.9914, allocations: 23.83 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.9914, allocations: 8.719 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.9914, allocations: 4 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9914, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9914, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.9917, allocations: 209.4 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.9917, allocations: 4 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.9918, allocations: 8 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9918, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.9918, allocations: 11.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9918, allocations: 4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9918, allocations: 240 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.9923, allocations: 221 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.9924, allocations: 88.95 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.9924, allocations: 7.984 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.9925, allocations: 7.938 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.9926, allocations: 15.98 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.9926, allocations: 4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002534/0.9928, allocations: 107.2 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9928, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004178/0.9933, allocations: 99.94 kB / 1.024 GB, free: 10.64 MB / 0.7794 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.0004552/0.9937, allocations: 199.9 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.9941, allocations: 228.9 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9941, allocations: 4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.9943, allocations: 59.92 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.9944, allocations: 8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.995, allocations: 272.8 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.9954, allocations: 0.7123 MB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.9955, allocations: 8.891 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.9955, allocations: 15.42 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9955, allocations: 3.938 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.007576/1.003, allocations: 3.033 MB / 1.029 GB, free: 6.066 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches