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.001999/0.001999, 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.002907/0.002906, allocations: 194.3 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.612/1.612, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.132/3.132, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9217, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00356/0.9253, allocations: 1.477 MB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.9268, allocations: 0.6967 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.9268, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.927, allocations: 15.92 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.9271, allocations: 7.875 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.9282, allocations: 343 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.9286, allocations: 171.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.9286, allocations: 11.98 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.9287, allocations: 67.83 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.9289, allocations: 51.81 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.013e-05/0.9289, allocations: 12 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.9294, allocations: 259.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.9295, allocations: 35.91 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.9296, allocations: 63.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.9302, allocations: 301.3 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9302, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9302, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9302, allocations: 0 / 1.021 GB, free: 15.05 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.0008805/0.9311, allocations: 479 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9312, allocations: 12.03 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.9312, allocations: 16.75 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.9316, allocations: 204.2 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.9316, allocations: 4.375 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.9317, allocations: 24.28 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.9319, allocations: 96.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9319, allocations: 4.188 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.932, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.932, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.9321, allocations: 51.91 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.9325, allocations: 247.3 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.9327, allocations: 111.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.9328, allocations: 70.66 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.9328, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.9332, allocations: 146.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.9332, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0005246/0.9337, allocations: 214.1 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.9339, allocations: 114.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.9341, allocations: 143.3 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.9342, allocations: 37.7 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.9343, allocations: 96.69 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.9344, allocations: 63.19 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.9346, allocations: 69.62 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003324/0.9349, allocations: 326.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.935, allocations: 56.11 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.9353, allocations: 176.3 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.9355, allocations: 134.4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9355, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003396/0.9359, allocations: 201.3 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9359, allocations: 4 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.936, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.936, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.9361, allocations: 19.88 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.9361, allocations: 8.234 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.9364, allocations: 49.75 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.9364, allocations: 8 kB / 1.024 GB, free: 11.58 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.0001656/0.9366, allocations: 137.5 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.9366, allocations: 15.84 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.9366, allocations: 12.7 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.9367, allocations: 4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9367, allocations: 4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9367, allocations: 3.938 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.9369, allocations: 209.4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9369, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.937, allocations: 8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.937, allocations: 4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.937, allocations: 8 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.937, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.937, allocations: 3.984 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.9374, allocations: 225.6 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.9374, allocations: 88.95 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.9375, allocations: 4 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.9375, allocations: 11.92 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.9376, allocations: 11.98 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9376, allocations: 8 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.03e-05/0.9377, allocations: 100.7 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9377, allocations: 4 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004844/0.9382, allocations: 99.92 kB / 1.025 GB, free: 10.53 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.0003664/0.9386, allocations: 203.4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.939, allocations: 220.9 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.939, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.9391, allocations: 63.91 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.9393, allocations: 13.09 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.9399, allocations: 244.7 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.9403, allocations: 0.7123 MB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.9403, allocations: 8.891 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.9404, allocations: 15.44 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.124e-06/0.9404, allocations: 0 / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.00804/0.9484, allocations: 3.08 MB / 1.029 GB, free: 5.938 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