Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001527/0.001527, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001645/0.001645, allocations: 173 kB / 23.36 MB, free: 1.129 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 0.9983/0.9983, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.372/2.372, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.682e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002261/0.002288, allocations: 1.527 MB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.003106, allocations: 0.6575 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.003143, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.906e-05/0.003222, allocations: 7.875 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.003293, allocations: 23.78 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.004071, allocations: 350.9 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.004277, allocations: 175.7 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.004316, allocations: 11.91 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.004412, allocations: 91.86 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.004475, allocations: 35.95 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.004501, allocations: 15.94 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.004814, allocations: 283.5 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.004873, allocations: 35.91 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.004929, allocations: 47.89 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.005266, allocations: 319.2 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.005271, allocations: 8 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005272, allocations: 0 / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005277, allocations: 4 kB / 0.842 GB, free: 10.65 MB / 0.8073 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.0004928/0.00577, allocations: 375.9 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.005811, allocations: 8.625 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.005857, allocations: 12.92 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.006032, allocations: 145.6 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.006047, allocations: 8.375 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.006074, allocations: 8.375 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.006211, allocations: 83.55 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.00622, allocations: 8.188 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006229, allocations: 384 / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.006237, allocations: 4.359 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.006283, allocations: 36.39 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.006411, allocations: 103.1 kB / 0.8428 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.006495, allocations: 83.95 kB / 0.8429 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.006535, allocations: 38.64 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.006541, allocations: 4 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.006679, allocations: 112.8 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.00668, allocations: 4 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0001922/0.006873, allocations: 125.9 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.006946, allocations: 110.8 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.007045, allocations: 152.3 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.007076, allocations: 37.69 kB / 0.8434 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.007112, allocations: 92.64 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.007163, allocations: 51.61 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.00722, allocations: 61.59 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.007309, allocations: 330.8 kB / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.007345, allocations: 19.11 kB / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.007546, allocations: 424.2 kB / 0.8443 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.007643, allocations: 98.91 kB / 0.8444 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.007645, allocations: 0 / 0.8444 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001373/0.007783, allocations: 126 kB / 0.8446 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007795, allocations: 4 kB / 0.8446 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.007816, allocations: 3.984 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.00783, allocations: 4 kB / 0.8446 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.007925, allocations: 20 kB / 0.8446 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.007933, allocations: 15.86 kB / 0.8446 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.008051, allocations: 31.83 kB / 0.8446 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.008063, allocations: 12 kB / 0.8447 GB, free: 7.594 MB / 0.8073 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 9.979e-05/0.008163, allocations: 127.3 kB / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.008183, allocations: 15.98 kB / 0.8448 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.008208, allocations: 8.922 kB / 0.8448 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.008214, allocations: 7.984 kB / 0.8448 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.008217, allocations: 0 / 0.8448 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.008222, allocations: 3.938 kB / 0.8448 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.104e-05/0.008313, allocations: 101.7 kB / 0.8449 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.008316, allocations: 4 kB / 0.8449 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.008343, allocations: 12 kB / 0.8449 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.008345, allocations: 0 / 0.8449 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.008351, allocations: 4 kB / 0.8449 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.008353, allocations: 0 / 0.8449 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008353, allocations: 3.938 kB / 0.8449 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.008471, allocations: 139.1 kB / 0.8451 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.008486, allocations: 19.86 kB / 0.8451 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.008503, allocations: 7.938 kB / 0.8451 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.008531, allocations: 8 kB / 0.8451 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.008565, allocations: 7.984 kB / 0.8451 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.00857, allocations: 0 / 0.8451 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.008595, allocations: 32.12 kB / 0.8451 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008595, allocations: 0 / 0.8451 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002269/0.008822, allocations: 103.8 kB / 0.8452 GB, free: 6.945 MB / 0.8073 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.000253/0.009075, allocations: 201.3 kB / 0.8454 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.009245, allocations: 173.7 kB / 0.8456 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.009249, allocations: 4 kB / 0.8456 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.009285, allocations: 38.83 kB / 0.8456 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.675e-05/0.009362, allocations: 8 kB / 0.8456 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.009681, allocations: 242 kB / 0.8459 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.009719, allocations: 67.84 kB / 0.8459 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.009757, allocations: 12.97 kB / 0.8459 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.009839, allocations: 79.36 kB / 0.846 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.00984, allocations: 0 / 0.846 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.004865/0.0147, allocations: 3.47 MB / 0.8494 GB, free: 2.629 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.407497115898877]