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.001704/0.001704, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001844/0.001844, allocations: 189.5 kB / 22.22 MB, free: 5.105 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 443.4 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002298/0.002298, allocations: 67.89 kB / 1.061 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.192, allocations: 160.8 MB / 1.218 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003267/1.195, allocations: 1.495 MB / 1.22 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001432/1.197, allocations: 0.7063 MB / 1.221 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/1.197, allocations: 1.031 kB / 1.221 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/1.197, allocations: 13.02 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.779e-05/1.197, allocations: 15.17 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/1.198, allocations: 367.9 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/1.199, allocations: 175.2 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/1.199, allocations: 2.531 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/1.199, allocations: 71.25 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/1.199, allocations: 53.08 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/1.199, allocations: 15.61 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/1.199, allocations: 285.9 kB / 1.222 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/1.2, allocations: 38.25 kB / 1.222 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/1.2, allocations: 64.95 kB / 1.222 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/1.2, allocations: 300.5 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.2, allocations: 1.219 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.664e-06/1.2, allocations: 3.938 kB / 1.222 GB, free: 1.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.2, allocations: 0 / 1.222 GB, free: 1.23 MB / 0.92 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.0007749/1.201, allocations: 488.2 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.201, allocations: 9.375 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/1.201, allocations: 16.3 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/1.201, allocations: 208 kB / 1.223 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.201, allocations: 12.81 kB / 1.223 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/1.201, allocations: 9.281 kB / 1.223 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/1.202, allocations: 94.42 kB / 1.223 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.202, allocations: 1.25 kB / 1.223 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/1.202, allocations: 3.938 kB / 1.223 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.202, allocations: 2.188 kB / 1.223 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/1.202, allocations: 54.16 kB / 1.223 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/1.202, allocations: 243.6 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.202, allocations: 99.27 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/1.202, allocations: 75.62 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/1.202, allocations: 1.094 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/1.203, allocations: 145.2 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/1.203, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0005452/1.203, allocations: 214.2 kB / 1.224 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.203, allocations: 126.1 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/1.204, allocations: 140.1 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/1.204, allocations: 43.31 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/1.204, allocations: 93.14 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/1.204, allocations: 60.28 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.204, allocations: 60.38 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002577/1.204, allocations: 330.1 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/1.204, allocations: 49.67 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/1.205, allocations: 197.3 kB / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/1.205, allocations: 132.5 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.205, allocations: 0.75 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004096/1.206, allocations: 205.1 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/1.206, allocations: 9.344 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/1.206, allocations: 3.656 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.206, allocations: 2.812 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/1.206, allocations: 17.7 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.206, allocations: 1.406 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/1.206, allocations: 45.75 kB / 1.225 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.206, allocations: 13.81 kB / 1.225 GB, free: 14.52 MB / 0.9356 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.0001893/1.206, allocations: 138.7 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/1.206, allocations: 16.75 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/1.206, allocations: 16.5 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.206, allocations: 1.375 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/1.206, allocations: 5.406 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.206, allocations: 1.469 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/1.207, allocations: 208.8 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/1.207, allocations: 4.719 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/1.207, allocations: 17.42 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.207, allocations: 1.312 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/1.207, allocations: 5.875 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.207, allocations: 1.625 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.207, allocations: 0.75 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/1.207, allocations: 213.6 kB / 1.226 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/1.207, allocations: 101.4 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/1.207, allocations: 2.031 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/1.207, allocations: 11.28 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/1.207, allocations: 7.266 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.207, allocations: 8.391 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001211/1.207, allocations: 105.4 kB / 1.226 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.207, allocations: 1.094 kB / 1.226 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005333/1.208, allocations: 102.4 kB / 1.226 GB, free: 13.73 MB / 0.9356 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.0004092/1.208, allocations: 210.2 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004508/1.209, allocations: 205.8 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.209, allocations: 1.719 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/1.209, allocations: 47.78 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/1.209, allocations: 11.86 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/1.21, allocations: 249 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.21, allocations: 0.7085 MB / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.456e-05/1.21, allocations: 17 kB / 1.227 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/1.21, allocations: 17.97 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/1.21, allocations: 0 / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.009383/1.22, allocations: 3.175 MB / 1.23 GB, free: 10.53 MB / 0.9356 GB " [Timeout remaining time 299] 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: 10.113082274794579]