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.001485/0.001485, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.054/3.054, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001678, allocations: 63.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003419/1.018, allocations: 1.481 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001215/1.019, allocations: 0.6929 MB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/1.019, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/1.019, allocations: 11.86 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/1.02, allocations: 11.88 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/1.021, allocations: 343 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/1.021, allocations: 175.5 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/1.021, allocations: 7.984 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/1.021, allocations: 75.81 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/1.021, allocations: 43.83 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/1.021, allocations: 12 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/1.022, allocations: 255.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/1.022, allocations: 35.89 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/1.022, allocations: 67.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/1.022, allocations: 301.3 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.022, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/1.022, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.022, allocations: 0 / 1.021 GB, free: 15.03 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.000682/1.023, allocations: 471 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.023, allocations: 12.03 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/1.023, allocations: 12.75 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/1.023, allocations: 221.4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.023, allocations: 8.375 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/1.023, allocations: 12.38 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/1.024, allocations: 96.72 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.024, allocations: 192 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.024, allocations: 11.94 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.024, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/1.024, allocations: 43.95 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/1.024, allocations: 255.3 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/1.024, allocations: 107.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/1.024, allocations: 78.59 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/1.024, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/1.025, allocations: 134.9 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/1.025, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004327/1.025, allocations: 217.3 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/1.025, allocations: 118.8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.025, allocations: 139.5 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.025, allocations: 37.7 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/1.026, allocations: 100.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/1.026, allocations: 63.19 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/1.026, allocations: 57.69 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.026, allocations: 326.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/1.026, allocations: 56.11 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/1.026, allocations: 180.5 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/1.026, allocations: 130.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.026, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002876/1.027, allocations: 209.2 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.027, allocations: 7.984 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.027, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.027, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.027, allocations: 11.94 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.027, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/1.027, allocations: 54.11 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.027, allocations: 12 kB / 1.024 GB, free: 11.55 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.0001374/1.027, allocations: 136 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/1.027, allocations: 11.98 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/1.027, allocations: 24.69 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.027, allocations: 4 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.027, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.027, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/1.028, allocations: 205.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.028, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/1.028, allocations: 16 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.028, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/1.028, allocations: 8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.028, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.028, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/1.028, allocations: 214.7 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/1.028, allocations: 92.89 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/1.028, allocations: 4 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/1.028, allocations: 11.92 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/1.028, allocations: 15.92 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.028, allocations: 4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.925e-05/1.028, allocations: 105 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003738/1.029, allocations: 103.9 kB / 1.025 GB, free: 10.51 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.0003131/1.029, allocations: 211.3 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000354/1.029, allocations: 221 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.029, allocations: 0 / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/1.029, allocations: 59.91 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/1.03, allocations: 9.547 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/1.03, allocations: 248.7 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.03, allocations: 0.7084 MB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.773e-05/1.03, allocations: 12.88 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/1.03, allocations: 15.44 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/1.03, allocations: 0 / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of Templates: time 0.006316/1.037, allocations: 3.08 MB / 1.029 GB, free: 5.914 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=480 -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