Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001783/0.001783, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002243/0.002243, allocations: 210.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 72.12 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3712, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002835/0.374, allocations: 1.488 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3752, allocations: 0.6151 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.3752, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.3753, allocations: 19.86 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.3754, allocations: 15.84 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3765, allocations: 355 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.3768, allocations: 175.6 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.3768, allocations: 12 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.377, allocations: 75.81 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3771, allocations: 47.83 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3771, allocations: 12 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.3776, allocations: 291.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.3777, allocations: 39.84 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.3777, allocations: 51.77 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.3782, allocations: 315 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3782, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3782, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3782, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 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.0006792/0.3789, allocations: 401.4 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3789, allocations: 15.97 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.379, allocations: 16.84 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3792, allocations: 150.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3793, allocations: 8.375 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3793, allocations: 8.375 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3795, allocations: 102.3 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3795, allocations: 192 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3795, allocations: 7.938 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3795, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3796, allocations: 47.91 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.3799, allocations: 183.1 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.3801, allocations: 95.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3803, allocations: 66.61 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3803, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.3806, allocations: 141.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.3806, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0005397/0.3811, allocations: 209.4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.3812, allocations: 126.7 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.3815, allocations: 139.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3815, allocations: 49.62 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3817, allocations: 96.64 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.3817, allocations: 47.64 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.3818, allocations: 61.69 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.3821, allocations: 330.8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.514e-05/0.3822, allocations: 48.27 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.3826, allocations: 459.2 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3829, allocations: 138.5 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3829, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000339/0.3833, allocations: 205.5 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3833, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.3833, allocations: 11.98 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3833, allocations: 7.984 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3834, allocations: 11.94 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3835, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3837, allocations: 49.3 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3837, allocations: 8 kB / 1.334 GB, free: 9.977 MB / 1.029 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.0001697/0.3839, allocations: 140.9 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3839, allocations: 15.89 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.384, allocations: 20.72 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.384, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.384, allocations: 3.984 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.384, allocations: 4 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3842, allocations: 137.2 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3842, allocations: 0 / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.3842, allocations: 12 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.3842, allocations: 7.938 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3842, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3842, allocations: 4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3842, allocations: 7.938 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3846, allocations: 212.6 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.3846, allocations: 15.84 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3846, allocations: 8 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3847, allocations: 7.984 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.3847, allocations: 15.92 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3848, allocations: 8 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001078/0.3849, allocations: 108.8 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3849, allocations: 0 / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004257/0.3853, allocations: 103.8 kB / 1.334 GB, free: 9.09 MB / 1.029 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.0004007/0.3857, allocations: 207.1 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.3861, allocations: 209.2 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3861, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.3862, allocations: 52.05 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.3864, allocations: 9.688 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.3869, allocations: 248.8 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.387, allocations: 104.5 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.099e-05/0.3871, allocations: 8.984 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.3871, allocations: 15.44 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3871, allocations: 0 / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of Templates: time 0.007746/0.3948, allocations: 3.323 MB / 1.338 GB, free: 4.902 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.511060025994084]