Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001586/0.001586, allocations: 113.9 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.001707/0.001707, 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.619/1.619, allocations: 225.6 MB / 249.4 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.133/3.133, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_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_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335/1.337, allocations: 173.6 MB / 1.305 GB, free: 33.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002656/1.34, allocations: 1.51 MB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/1.341, allocations: 0.7009 MB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/1.341, allocations: 4 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.792e-05/1.341, allocations: 14.16 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/1.341, allocations: 18.2 kB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/1.342, allocations: 344.1 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/1.342, allocations: 166 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/1.342, allocations: 6.344 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/1.342, allocations: 68.22 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/1.342, allocations: 63.03 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/1.343, allocations: 11.94 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/1.343, allocations: 254.5 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/1.343, allocations: 33.58 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/1.343, allocations: 61.12 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/1.343, allocations: 296.2 kB / 1.309 GB, free: 31.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.343, allocations: 6.875 kB / 1.309 GB, free: 31.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/1.343, allocations: 0 / 1.309 GB, free: 31.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.343, allocations: 0 / 1.309 GB, free: 31.44 MB / 1.061 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.0006107/1.344, allocations: 493.8 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.344, allocations: 8.281 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/1.344, allocations: 10.92 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/1.344, allocations: 209 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/1.344, allocations: 13.42 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/1.344, allocations: 8.781 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/1.345, allocations: 97.16 kB / 1.31 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.345, allocations: 4.188 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.345, allocations: 3.938 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.345, allocations: 2.906 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/1.345, allocations: 52.11 kB / 1.31 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/1.345, allocations: 243.9 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.345, allocations: 110.6 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/1.345, allocations: 63.03 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/1.345, allocations: 0 / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/1.345, allocations: 144.5 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.113e-06/1.345, allocations: 0 / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0003766/1.346, allocations: 214 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/1.346, allocations: 114.8 kB / 1.311 GB, free: 29.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/1.346, allocations: 144.5 kB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/1.346, allocations: 38.25 kB / 1.311 GB, free: 29.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/1.346, allocations: 93.83 kB / 1.311 GB, free: 29.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/1.346, allocations: 61.84 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/1.346, allocations: 65.27 kB / 1.311 GB, free: 29.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/1.346, allocations: 324.8 kB / 1.311 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/1.346, allocations: 53.88 kB / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.346, allocations: 185.6 kB / 1.311 GB, free: 29.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/1.347, allocations: 133.9 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.347, allocations: 0 / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002491/1.347, allocations: 204.1 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.347, allocations: 6.562 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.347, allocations: 6.031 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.347, allocations: 0 / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/1.347, allocations: 11.8 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/1.347, allocations: 4 kB / 1.312 GB, free: 28.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/1.347, allocations: 47.47 kB / 1.312 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/1.347, allocations: 12.31 kB / 1.312 GB, free: 28.98 MB / 1.061 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.0001114/1.347, allocations: 139.2 kB / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/1.347, allocations: 17.53 kB / 1.312 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/1.347, allocations: 18.94 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.347, allocations: 2.875 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.347, allocations: 4 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.347, allocations: 2.938 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/1.348, allocations: 210.2 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.348, allocations: 3.469 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/1.348, allocations: 12.88 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.348, allocations: 0 / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.348, allocations: 6.844 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.348, allocations: 3.875 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.348, allocations: 0 / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/1.348, allocations: 216.1 kB / 1.312 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/1.348, allocations: 91.52 kB / 1.313 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/1.348, allocations: 2.5 kB / 1.313 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/1.348, allocations: 10.69 kB / 1.313 GB, free: 28.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/1.348, allocations: 12.8 kB / 1.313 GB, free: 28.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/1.348, allocations: 8.578 kB / 1.313 GB, free: 28.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.006e-05/1.348, allocations: 107 kB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.348, allocations: 0 / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003773/1.348, allocations: 104.7 kB / 1.313 GB, free: 28.24 MB / 1.061 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.0002896/1.349, allocations: 206.2 kB / 1.313 GB, free: 28.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003113/1.349, allocations: 207.3 kB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.349, allocations: 0 / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/1.349, allocations: 44.72 kB / 1.313 GB, free: 27.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/1.349, allocations: 14.61 kB / 1.313 GB, free: 27.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/1.35, allocations: 270 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/1.35, allocations: 0.7118 MB / 1.314 GB, free: 27.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.149e-05/1.35, allocations: 18.08 kB / 1.314 GB, free: 27.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/1.35, allocations: 12.59 kB / 1.314 GB, free: 27.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.35, allocations: 0 / 1.314 GB, free: 27.05 MB / 1.061 GB Notification: Performance of Templates: time 0.005991/1.356, allocations: 3.125 MB / 1.317 GB, free: 26.75 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.811745531857014]