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.001624/0.001624, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001732/0.001732, allocations: 201 kB / 22.17 MB, free: 5.211 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.629/1.629, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.945/2.945, 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.002204/0.002204, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.9057, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003266/0.909, allocations: 1.503 MB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.9105, allocations: 0.7023 MB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.9106, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.495e-05/0.9106, allocations: 15.86 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.9107, allocations: 11.86 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.9118, allocations: 344.4 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.9121, allocations: 175.6 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.9122, allocations: 4 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.9123, allocations: 71.81 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.9124, allocations: 51.83 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.9124, allocations: 12 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.9128, allocations: 255.7 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.9129, allocations: 39.83 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.913, allocations: 63.66 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.9135, allocations: 301.8 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9135, allocations: 4 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9135, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.9135, allocations: 4 kB / 1.277 GB, free: 1.012 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.0008759/0.9144, allocations: 474.5 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.9145, allocations: 8.031 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.9145, allocations: 12.89 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.9149, allocations: 217.7 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.9149, allocations: 12.31 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.9149, allocations: 12.38 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.9151, allocations: 104.8 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9152, allocations: 192 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9152, allocations: 3.938 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9152, allocations: 4 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.9153, allocations: 47.91 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.9156, allocations: 247.4 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.9158, allocations: 103.9 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.9159, allocations: 62.66 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.916, allocations: 4 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.9162, allocations: 137.8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.9162, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004989/0.9167, allocations: 209.5 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.9169, allocations: 122.7 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.917, allocations: 148 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.9171, allocations: 37.7 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.9172, allocations: 96.69 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.9173, allocations: 63.52 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.9174, allocations: 61.69 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.9176, allocations: 326.8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.9177, allocations: 48.25 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.918, allocations: 176.5 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.9182, allocations: 130.5 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9182, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003435/0.9186, allocations: 205.4 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.9186, allocations: 11.98 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/0.9186, allocations: 4.938 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.9186, allocations: 0 / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.9188, allocations: 19.94 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9188, allocations: 3.938 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.919, allocations: 51.83 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.919, allocations: 8 kB / 1.281 GB, free: 13.56 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.0001715/0.9192, allocations: 144.2 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.9192, allocations: 15.84 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.9193, allocations: 20.7 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.9193, allocations: 0 / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.9193, allocations: 4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9193, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.9195, allocations: 209.5 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9195, allocations: 0 / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.9196, allocations: 8 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.9196, allocations: 4 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.9196, allocations: 8 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.9196, allocations: 4 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9196, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.92, allocations: 216.4 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.92, allocations: 96.95 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.92, allocations: 0 / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.9201, allocations: 19.92 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.9202, allocations: 7.984 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.9202, allocations: 4 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.9203, allocations: 105.1 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9203, allocations: 0 / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004351/0.9207, allocations: 103.8 kB / 1.281 GB, free: 12.5 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.0003739/0.9211, allocations: 203.5 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.9214, allocations: 212.9 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9215, allocations: 0 / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.9216, allocations: 51.91 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.9218, allocations: 8 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.9223, allocations: 248.5 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.9228, allocations: 0.72 MB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.267e-05/0.9228, allocations: 12.88 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.9228, allocations: 11.44 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.9228, allocations: 0 / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.007647/0.9305, allocations: 3.147 MB / 1.286 GB, free: 7.859 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 gbode -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.454887233208865]