Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.002669/0.002669, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003341/0.003341, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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 1.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.236/3.236, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.OccupancySchedulePositiveStartTime,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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.232e-05, allocations: 4.141 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003509/0.003541, allocations: 1.522 MB / 0.8123 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004839, allocations: 0.6592 MB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.004877, allocations: 0 / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.769e-05/0.004965, allocations: 7.922 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.005053, allocations: 13.41 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.0061, allocations: 368.1 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.006391, allocations: 167.6 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.006435, allocations: 7.984 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.006592, allocations: 93.62 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.006689, allocations: 39.88 kB / 0.8136 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.006734, allocations: 12 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.007235, allocations: 279.5 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.007323, allocations: 45.11 kB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.007413, allocations: 43.89 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.007961, allocations: 355.1 kB / 0.8143 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.007965, allocations: 1.156 kB / 0.8143 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.653e-06/0.007967, allocations: 0 / 0.8143 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.007971, allocations: 0 / 0.8143 GB, free: 14.59 MB / 0.7761 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.0007517/0.008723, allocations: 0.5038 MB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.00876, allocations: 14.16 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.008836, allocations: 12.89 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.009101, allocations: 160.4 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.009119, allocations: 8.312 kB / 0.8149 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.009148, allocations: 12.38 kB / 0.815 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.009349, allocations: 101.3 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.009358, allocations: 0.7188 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.00937, allocations: 1.094 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.009375, allocations: 384 / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.009487, allocations: 48.34 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.009773, allocations: 188.1 kB / 0.8153 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.01002, allocations: 122.9 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.01016, allocations: 67.16 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.01018, allocations: 0.625 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.0105, allocations: 153.6 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.0105, allocations: 0.9375 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0004871/0.01099, allocations: 198.1 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.01109, allocations: 123.5 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01129, allocations: 202.9 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.01134, allocations: 46.28 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01145, allocations: 139.4 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/0.01154, allocations: 72.33 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.01166, allocations: 71.34 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000294/0.01195, allocations: 0.5049 MB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01205, allocations: 48.25 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.01253, allocations: 480.6 kB / 0.8174 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.01277, allocations: 135 kB / 0.8175 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01277, allocations: 0 / 0.8175 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003542/0.01313, allocations: 206.3 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01315, allocations: 8 kB / 0.8178 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.01317, allocations: 4.141 kB / 0.8178 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.01319, allocations: 6.25 kB / 0.8178 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01334, allocations: 31.91 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.01335, allocations: 4 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.01355, allocations: 39.8 kB / 0.8178 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.01357, allocations: 8 kB / 0.8178 GB, free: 10.51 MB / 0.7761 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.0001814/0.01375, allocations: 186.5 kB / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01379, allocations: 15.91 kB / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.01382, allocations: 16.77 kB / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.01383, allocations: 7.938 kB / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01384, allocations: 0 / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01384, allocations: 0 / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.01402, allocations: 152.5 kB / 0.8182 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.01402, allocations: 4 kB / 0.8182 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.01407, allocations: 8.938 kB / 0.8182 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01407, allocations: 0 / 0.8182 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01409, allocations: 11.98 kB / 0.8182 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.0141, allocations: 4.438 kB / 0.8182 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.0141, allocations: 4.5 kB / 0.8182 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.01467, allocations: 204.2 kB / 0.8184 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01469, allocations: 19.84 kB / 0.8184 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01472, allocations: 5.625 kB / 0.8185 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.01478, allocations: 4 kB / 0.8185 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.01484, allocations: 15.97 kB / 0.8185 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01485, allocations: 4 kB / 0.8185 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000106/0.01496, allocations: 147.5 kB / 0.8186 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01496, allocations: 7.938 kB / 0.8186 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003796/0.01534, allocations: 103.7 kB / 0.8187 GB, free: 9.543 MB / 0.7761 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.0003878/0.01572, allocations: 220.9 kB / 0.8189 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.0161, allocations: 219.5 kB / 0.8191 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01611, allocations: 0.625 kB / 0.8191 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.01622, allocations: 59.78 kB / 0.8192 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.01639, allocations: 9.094 kB / 0.8192 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.01691, allocations: 245.8 kB / 0.8194 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.01702, allocations: 104.6 kB / 0.8195 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.01707, allocations: 8.969 kB / 0.8196 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.01711, allocations: 20.5 kB / 0.8196 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01711, allocations: 0 / 0.8196 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.007695/0.0248, allocations: 3.259 MB / 0.8228 GB, free: 5.402 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.507515981909819]