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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.853/2.853, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.059 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4451, allocations: 160.7 MB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003645/0.4488, allocations: 1.501 MB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4502, allocations: 0.694 MB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.4503, allocations: 4 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.565e-05/0.4504, allocations: 7.922 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.4504, allocations: 23.8 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.4516, allocations: 346.9 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.4518, allocations: 167.7 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.4519, allocations: 0 / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.452, allocations: 75.81 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4521, allocations: 51.77 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.4521, allocations: 15.94 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.4525, allocations: 255.7 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.4526, allocations: 39.89 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.4527, allocations: 63.72 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.4532, allocations: 299.1 kB / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4532, allocations: 0 / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4532, allocations: 0 / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4532, allocations: 0 / 1.22 GB, free: 11.88 MB / 0.9669 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.0008845/0.4541, allocations: 482.4 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4541, allocations: 12.03 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.4542, allocations: 16.89 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4545, allocations: 216.1 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4545, allocations: 8.375 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.4547, allocations: 8.375 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.4549, allocations: 98.66 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4549, allocations: 4.125 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.455, allocations: 7.938 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.455, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.4551, allocations: 51.95 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.4554, allocations: 239.4 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.4556, allocations: 107.9 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4558, allocations: 70.59 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.4558, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.4562, allocations: 135.9 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.4562, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.000489/0.4566, allocations: 222.1 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.4567, allocations: 110.8 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.4569, allocations: 145.8 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.457, allocations: 37.7 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4571, allocations: 96.69 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.248e-05/0.4571, allocations: 59.58 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4573, allocations: 61.69 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003217/0.4576, allocations: 330.8 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4577, allocations: 52.19 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.458, allocations: 176.3 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.4582, allocations: 134.5 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4582, allocations: 0 / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003451/0.4585, allocations: 209.4 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4586, allocations: 5.875 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.4586, allocations: 7.984 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.4586, allocations: 4 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4587, allocations: 11.94 kB / 1.223 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4587, allocations: 4 kB / 1.223 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.459, allocations: 50.8 kB / 1.223 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.459, allocations: 15.98 kB / 1.223 GB, free: 8.406 MB / 0.9669 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.0002077/0.4592, allocations: 136 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.4592, allocations: 19.84 kB / 1.223 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.4593, allocations: 16.84 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.4593, allocations: 7.984 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4593, allocations: 0 / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4593, allocations: 0 / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.4596, allocations: 213.4 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4596, allocations: 8 kB / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.4596, allocations: 8 kB / 1.223 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4596, allocations: 0 / 1.223 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4597, allocations: 8 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4597, allocations: 240 / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4597, allocations: 0 / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.46, allocations: 218.6 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.46, allocations: 92.95 kB / 1.223 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.4601, allocations: 4 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.4601, allocations: 11.92 kB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.4602, allocations: 11.98 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4602, allocations: 7.938 kB / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.4603, allocations: 103.3 kB / 1.223 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4603, allocations: 0 / 1.223 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004317/0.4607, allocations: 99.8 kB / 1.223 GB, free: 7.355 MB / 0.9669 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.0003919/0.4611, allocations: 211.1 kB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.4615, allocations: 205 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4615, allocations: 0 / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.4617, allocations: 47.91 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.4619, allocations: 8 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.4625, allocations: 264.4 kB / 1.224 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.463, allocations: 0.7084 MB / 1.225 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.304e-05/0.463, allocations: 20.75 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.463, allocations: 15.44 kB / 1.225 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of SimCode: time 1.322e-06/0.463, allocations: 0 / 1.225 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.007999/0.471, allocations: 3.135 MB / 1.228 GB, free: 2.703 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.719073124229908]