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.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.001565/0.001565, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.0017/0.0017, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002434/0.002434, allocations: 67.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003173/1.161, allocations: 1.488 MB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001426/1.162, allocations: 0.71 MB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/1.162, allocations: 0 / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.659e-05/1.162, allocations: 7.922 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/1.162, allocations: 11.88 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/1.164, allocations: 350.5 kB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/1.164, allocations: 179.6 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/1.164, allocations: 4 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/1.164, allocations: 63.89 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/1.164, allocations: 55.75 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/1.164, allocations: 12 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/1.165, allocations: 259.7 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/1.165, allocations: 39.89 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/1.165, allocations: 59.72 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/1.165, allocations: 297.8 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.165, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.275e-06/1.165, allocations: 3.938 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.165, allocations: 0 / 1.277 GB, free: 1.051 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.0008332/1.166, allocations: 482.5 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.166, allocations: 8.031 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/1.166, allocations: 12.89 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/1.167, allocations: 221.7 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.167, allocations: 4.375 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/1.167, allocations: 16.38 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.167, allocations: 96.8 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.167, allocations: 192 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/1.167, allocations: 3.938 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.167, allocations: 4 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/1.167, allocations: 51.84 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/1.167, allocations: 251.3 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/1.167, allocations: 99.91 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/1.168, allocations: 74.55 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/1.168, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/1.168, allocations: 133.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/1.168, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006202/1.169, allocations: 217.4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/1.169, allocations: 118.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/1.169, allocations: 143.8 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.169, allocations: 33.7 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/1.169, allocations: 96.7 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.169, allocations: 59.52 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/1.169, allocations: 61.69 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002223/1.169, allocations: 330.8 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/1.17, allocations: 52.27 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/1.17, allocations: 180.5 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/1.17, allocations: 126.5 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.17, allocations: 8 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005235/1.171, allocations: 197.4 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.171, allocations: 11.94 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/1.171, allocations: 4 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.171, allocations: 0 / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/1.171, allocations: 23.92 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.171, allocations: 0.9375 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/1.171, allocations: 49.47 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/1.171, allocations: 4 kB / 1.281 GB, free: 13.6 MB / 0.9825 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.0001924/1.171, allocations: 148 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/1.172, allocations: 15.84 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/1.172, allocations: 12.72 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.172, allocations: 0 / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.172, allocations: 4 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.172, allocations: 3.984 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/1.172, allocations: 205.5 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.172, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.75e-05/1.172, allocations: 15.98 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.172, allocations: 4 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/1.172, allocations: 144 / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.172, allocations: 4 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.172, allocations: 0 / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/1.172, allocations: 213.4 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/1.173, allocations: 108.9 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/1.173, allocations: 7.938 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/1.173, allocations: 7.938 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.173, allocations: 11.98 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.173, allocations: 4 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001238/1.173, allocations: 109.1 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.173, allocations: 0 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005909/1.174, allocations: 103.8 kB / 1.281 GB, free: 12.54 MB / 0.9825 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.0004955/1.174, allocations: 207.4 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005228/1.175, allocations: 209 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.175, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/1.175, allocations: 51.92 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/1.175, allocations: 4 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/1.176, allocations: 256.4 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/1.176, allocations: 0.7161 MB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.451e-05/1.176, allocations: 16.81 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/1.176, allocations: 11.44 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/1.176, allocations: 0 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of Templates: time 0.0108/1.187, allocations: 3.139 MB / 1.286 GB, free: 7.891 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.71359359798953]