Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001629/0.001629, allocations: 106 kB / 16.45 MB, free: 6.445 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.001739/0.001739, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.608/1.608, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.883/2.883, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 1.056 GB, free: 2.535 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 160.7 MB / 1.213 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002988/0.3632, allocations: 1.485 MB / 1.214 GB, free: 0 / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3645, allocations: 0.7014 MB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.3646, allocations: 0 / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.373e-05/0.3647, allocations: 11.88 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.3647, allocations: 11.86 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3659, allocations: 339 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.3662, allocations: 179.6 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.074e-05/0.3663, allocations: 7.984 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3664, allocations: 59.84 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3665, allocations: 63.73 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.3666, allocations: 12 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.3671, allocations: 247.8 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3672, allocations: 39.88 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3673, allocations: 59.73 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.3678, allocations: 311.2 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3678, allocations: 4 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3678, allocations: 0 / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3679, allocations: 4 kB / 1.216 GB, free: 13.98 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.0008112/0.3687, allocations: 482.4 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3687, allocations: 12.02 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.3688, allocations: 34.75 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.3688, allocations: 12.89 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.3692, allocations: 220.1 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3692, allocations: 8.375 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.3692, allocations: 16.38 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3694, allocations: 92.8 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3694, allocations: 3.938 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3695, allocations: 7.984 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3695, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3696, allocations: 43.92 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.3699, allocations: 247.4 kB / 1.217 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3701, allocations: 103.9 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3703, allocations: 58.67 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3703, allocations: 3.984 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.3706, allocations: 149.7 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.3706, allocations: 0 / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0004883/0.3711, allocations: 213.5 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.3712, allocations: 110.8 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3713, allocations: 156 kB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3714, allocations: 33.7 kB / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.3715, allocations: 92.7 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.3715, allocations: 63.56 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3716, allocations: 61.69 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3718, allocations: 326.8 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3719, allocations: 48.27 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3721, allocations: 184.4 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.3724, allocations: 130.5 kB / 1.219 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3724, allocations: 0 / 1.219 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003326/0.3727, allocations: 201.4 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.3727, allocations: 12 kB / 1.219 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.3728, allocations: 7.984 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3728, allocations: 0 / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.3729, allocations: 23.94 kB / 1.219 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3729, allocations: 3.938 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3731, allocations: 51.78 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3731, allocations: 4 kB / 1.219 GB, free: 10.47 MB / 0.9669 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.0001498/0.3733, allocations: 148.1 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3733, allocations: 19.84 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3733, allocations: 16.7 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3733, allocations: 0 / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3733, allocations: 0 / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3734, allocations: 4 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.3736, allocations: 205.5 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3736, allocations: 3.984 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.3736, allocations: 8 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3736, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3736, allocations: 12 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3736, allocations: 0 / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3736, allocations: 4 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.374, allocations: 213 kB / 1.22 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.3741, allocations: 92.95 kB / 1.22 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3741, allocations: 7.938 kB / 1.22 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.3741, allocations: 19.92 kB / 1.22 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3742, allocations: 4 kB / 1.22 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3742, allocations: 11.98 kB / 1.22 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.2e-05/0.3743, allocations: 101 kB / 1.22 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 0 / 1.22 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004285/0.3747, allocations: 99.8 kB / 1.22 GB, free: 9.422 MB / 0.9669 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.001015/0.3757, allocations: 0.8531 MB / 1.221 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.3761, allocations: 213.2 kB / 1.221 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3761, allocations: 0 / 1.221 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.3762, allocations: 47.92 kB / 1.221 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.3764, allocations: 11.94 kB / 1.221 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.3788, allocations: 1.845 MB / 1.223 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3792, allocations: 0.7084 MB / 1.224 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.065e-05/0.3792, allocations: 17.16 kB / 1.224 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.3793, allocations: 35.42 kB / 1.224 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/0.3793, allocations: 0 / 1.224 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.4131, allocations: 4.627 MB / 1.228 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.581, allocations: 5.562 kB / 1.228 GB, free: 1.059 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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: 15.337951792869717]