Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001973/0.001973, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002088/0.002088, allocations: 157.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.641/1.641, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.831e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002925/0.002954, allocations: 1.519 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004349, allocations: 0.6836 MB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.004391, allocations: 0 / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.004481, allocations: 3.938 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.004567, allocations: 21.47 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.00569, allocations: 356.1 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.005994, allocations: 171.6 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.006036, allocations: 7.984 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.006191, allocations: 92.48 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006292, allocations: 41.3 kB / 0.7892 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.006333, allocations: 15.98 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.006844, allocations: 279.5 kB / 0.7894 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.006935, allocations: 39.89 kB / 0.7895 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.00702, allocations: 40.61 kB / 0.7895 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.007579, allocations: 363 kB / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.007582, allocations: 0.9062 kB / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007583, allocations: 0 / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.007588, allocations: 0.6562 kB / 0.7899 GB, free: 9.246 MB / 0.7448 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.0008116/0.0084, allocations: 0.5078 MB / 0.7904 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.008436, allocations: 8.031 kB / 0.7904 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.008509, allocations: 16.3 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.008794, allocations: 158.7 kB / 0.7905 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.008814, allocations: 8.375 kB / 0.7905 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.008846, allocations: 12.38 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.009057, allocations: 101.3 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.009066, allocations: 192 / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.009079, allocations: 384 / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.009084, allocations: 384 / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.0092, allocations: 47.84 kB / 0.7907 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.009487, allocations: 184.8 kB / 0.7909 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.009719, allocations: 131 kB / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.009838, allocations: 67.16 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.009853, allocations: 0 / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.01013, allocations: 152 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 9.82e-07/0.01013, allocations: 1.344 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004856/0.01061, allocations: 209.3 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.01073, allocations: 114.8 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.01092, allocations: 206 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.01096, allocations: 37.7 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01107, allocations: 147.4 kB / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.01116, allocations: 63.53 kB / 0.7919 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.01128, allocations: 72.78 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002918/0.01157, allocations: 0.5079 MB / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.01167, allocations: 40.27 kB / 0.7925 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.01213, allocations: 482.8 kB / 0.793 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.01263, allocations: 136.2 kB / 0.7931 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01263, allocations: 0 / 0.7931 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000332/0.01297, allocations: 189.5 kB / 0.7933 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01298, allocations: 12.47 kB / 0.7933 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.01302, allocations: 7.984 kB / 0.7933 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.01304, allocations: 4.469 kB / 0.7933 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.01318, allocations: 28.86 kB / 0.7934 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01319, allocations: 4 kB / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.0134, allocations: 36.67 kB / 0.7934 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01341, allocations: 8 kB / 0.7934 GB, free: 5.188 MB / 0.7448 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.0001824/0.0136, allocations: 181 kB / 0.7936 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.01363, allocations: 19.91 kB / 0.7936 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.01367, allocations: 12.77 kB / 0.7936 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.01368, allocations: 9.094 kB / 0.7936 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01368, allocations: 0 / 0.7936 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01369, allocations: 0 / 0.7936 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.01388, allocations: 160.5 kB / 0.7938 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01388, allocations: 4.781 kB / 0.7938 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.01393, allocations: 11.94 kB / 0.7938 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01393, allocations: 0.5938 kB / 0.7938 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01395, allocations: 9.453 kB / 0.7938 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01395, allocations: 3.984 kB / 0.7938 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.01396, allocations: 3.938 kB / 0.7938 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.01431, allocations: 209 kB / 0.794 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.01433, allocations: 16.45 kB / 0.794 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01435, allocations: 8.812 kB / 0.794 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.01441, allocations: 4 kB / 0.794 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.01448, allocations: 16.86 kB / 0.7941 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01449, allocations: 4 kB / 0.7941 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001137/0.01461, allocations: 151.2 kB / 0.7942 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01461, allocations: 1.25 kB / 0.7942 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003775/0.01498, allocations: 103.7 kB / 0.7943 GB, free: 4.215 MB / 0.7448 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.0003951/0.01538, allocations: 211.9 kB / 0.7945 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.01577, allocations: 220.6 kB / 0.7947 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01577, allocations: 2.312 kB / 0.7947 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.01588, allocations: 63.59 kB / 0.7948 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.01605, allocations: 10.62 kB / 0.7948 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.0166, allocations: 259 kB / 0.795 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01671, allocations: 96.25 kB / 0.7951 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.01676, allocations: 12.97 kB / 0.7951 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.01679, allocations: 12.5 kB / 0.7952 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.01679, allocations: 0 / 0.7952 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.007917/0.02471, allocations: 3.263 MB / 0.7983 GB, free: 68 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.238747844006866]