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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00135/0.00135, allocations: 108.3 kB / 16.37 MB, free: 6.465 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.00134/0.00134, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.1 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002102, allocations: 55.22 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.427, allocations: 151.7 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003899/0.431, allocations: 1.487 MB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.4326, allocations: 0.6788 MB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.4326, allocations: 4 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.4328, allocations: 7.922 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.762e-05/0.4329, allocations: 19.86 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4341, allocations: 343 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.4344, allocations: 175.6 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.4345, allocations: 15.92 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4346, allocations: 71.81 kB / 1.022 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.4347, allocations: 47.77 kB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.4348, allocations: 16 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.4352, allocations: 255.7 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4353, allocations: 43.89 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.4354, allocations: 51.78 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.4359, allocations: 303.3 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4359, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.268e-06/0.4359, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4359, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 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.000803/0.4367, allocations: 482.9 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4368, allocations: 8.625 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.4369, allocations: 16.75 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.4371, allocations: 214.9 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4372, allocations: 4.375 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.4372, allocations: 16.36 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.4374, allocations: 96.8 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4375, allocations: 4.188 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.4375, allocations: 3.938 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4375, allocations: 3.938 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.4376, allocations: 47.97 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.4379, allocations: 239.4 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.4381, allocations: 111.9 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.4382, allocations: 78.64 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4382, allocations: 4 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.4385, allocations: 139.1 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.4386, allocations: 0 / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0004433/0.439, allocations: 221.2 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.4391, allocations: 114.8 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.4392, allocations: 137.8 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.4393, allocations: 33.7 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.4393, allocations: 100.6 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.4394, allocations: 59.25 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.4395, allocations: 65.69 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4397, allocations: 326.8 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4398, allocations: 56.11 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.44, allocations: 177.2 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4402, allocations: 130.4 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4402, allocations: 3.938 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003115/0.4405, allocations: 206.1 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4406, allocations: 8 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.4406, allocations: 4 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.4406, allocations: 0 / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4407, allocations: 19.94 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4408, allocations: 0 / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.441, allocations: 55.78 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.441, allocations: 4 kB / 1.025 GB, free: 2.891 MB / 0.795 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.0001475/0.4411, allocations: 142.4 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.4412, allocations: 11.84 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.4412, allocations: 16.7 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4412, allocations: 0 / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4412, allocations: 4 kB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4413, allocations: 4 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.4415, allocations: 209.4 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4415, allocations: 3.938 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.4415, allocations: 12 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4415, allocations: 4 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4416, allocations: 4 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4416, allocations: 0 / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4416, allocations: 4 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.4419, allocations: 218.6 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.4419, allocations: 85.02 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.442, allocations: 8 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.442, allocations: 11.92 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.4421, allocations: 8.125 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4421, allocations: 8 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.594e-05/0.4422, allocations: 105.9 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4422, allocations: 4 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003469/0.4426, allocations: 103.9 kB / 1.026 GB, free: 1.848 MB / 0.795 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.0003604/0.4429, allocations: 215.8 kB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.4433, allocations: 217 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4433, allocations: 0 / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.4434, allocations: 59.91 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.4436, allocations: 9.875 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.4442, allocations: 244.8 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4445, allocations: 0.7047 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.4446, allocations: 12.88 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.4446, allocations: 15.44 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.4446, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of Templates: time 0.007013/0.4516, allocations: 3.092 MB / 1.031 GB, free: 13.24 MB / 0.8106 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches