Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.002063/0.002063, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00262/0.00262, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.982/2.982, 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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.239e-05, allocations: 3.016 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00346/0.003492, allocations: 1.485 MB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.004871, allocations: 0.6245 MB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.004935, allocations: 0 / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.005036, allocations: 11.86 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.005127, allocations: 17.08 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.006375, allocations: 359.6 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.006693, allocations: 172.5 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.006734, allocations: 4 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.00692, allocations: 95.86 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.007035, allocations: 49.3 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.007075, allocations: 12 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.007617, allocations: 271.5 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.007705, allocations: 45.14 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.007797, allocations: 39.91 kB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.008449, allocations: 359.1 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.008454, allocations: 2.031 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.293e-06/0.008455, allocations: 0 / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.008461, allocations: 0 / 0.8142 GB, free: 14.63 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.0008009/0.009262, allocations: 417.1 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.009302, allocations: 8.969 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.009399, allocations: 12.89 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.009681, allocations: 156.2 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.009702, allocations: 9.906 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.009735, allocations: 8.375 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.009958, allocations: 100.7 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.009967, allocations: 192 / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.00998, allocations: 1.344 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.00999, allocations: 4.359 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.01011, allocations: 51.86 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.01042, allocations: 175.9 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.01061, allocations: 108.4 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.01072, allocations: 59.36 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.01073, allocations: 0.5 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.01106, allocations: 138.5 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.01106, allocations: 0 / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0005309/0.01159, allocations: 226.3 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.0117, allocations: 114.8 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.01187, allocations: 151.4 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.01192, allocations: 38.23 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.01201, allocations: 94.02 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.01209, allocations: 63.52 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.01221, allocations: 61.69 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.0124, allocations: 326.8 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.01251, allocations: 49.48 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.01297, allocations: 463.8 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.01322, allocations: 142.5 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01322, allocations: 0.5625 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003847/0.01361, allocations: 201.4 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01363, allocations: 4.812 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.01365, allocations: 4 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.01368, allocations: 9.562 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01378, allocations: 11.94 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.01379, allocations: 4 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.01404, allocations: 52.33 kB / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.01406, allocations: 9.938 kB / 0.8173 GB, free: 11.08 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.0001589/0.01422, allocations: 132.4 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.01426, allocations: 19.91 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.0143, allocations: 16.77 kB / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.01431, allocations: 8.781 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.01432, allocations: 0 / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01433, allocations: 3.578 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.01452, allocations: 149.2 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01452, allocations: 0 / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.01457, allocations: 12 kB / 0.8177 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01458, allocations: 0 / 0.8177 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.0146, allocations: 15.92 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.0146, allocations: 0 / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.0146, allocations: 3.938 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.01496, allocations: 212.7 kB / 0.8179 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.01499, allocations: 16.52 kB / 0.8179 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.01502, allocations: 4 kB / 0.8179 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.01508, allocations: 4.5 kB / 0.8179 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.01513, allocations: 9.641 kB / 0.8179 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.01515, allocations: 8 kB / 0.8179 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.776e-05/0.01524, allocations: 109.4 kB / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01524, allocations: 0 / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004182/0.01566, allocations: 107.7 kB / 0.8181 GB, free: 10.21 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.0006747/0.01634, allocations: 224.6 kB / 0.8183 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.01674, allocations: 207.7 kB / 0.8185 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01674, allocations: 0 / 0.8185 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01684, allocations: 43.92 kB / 0.8186 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01704, allocations: 14.69 kB / 0.8186 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01763, allocations: 250.3 kB / 0.8188 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.01775, allocations: 95.09 kB / 0.8189 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.723e-05/0.0178, allocations: 12.97 kB / 0.8189 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01785, allocations: 20.5 kB / 0.819 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.01785, allocations: 0.6875 kB / 0.819 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of Templates: time 0.008153/0.026, allocations: 3.252 MB / 0.8221 GB, free: 6.121 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.158403269015253]