Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001716/0.001716, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002643/0.002643, allocations: 210.5 kB / 22.25 MB, free: 5.262 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.322/3.322, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [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.002169/0.002169, allocations: 63.59 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3698, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003113/0.3729, allocations: 1.478 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3741, allocations: 0.6316 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.3742, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.3743, allocations: 15.86 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.3743, allocations: 11.86 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3754, allocations: 361.7 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.3756, allocations: 175.6 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.3757, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.3758, allocations: 67.89 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.3759, allocations: 51.75 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.3759, allocations: 12 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.3763, allocations: 271.7 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.3764, allocations: 35.89 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.3765, allocations: 51.78 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.3769, allocations: 311.4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3769, allocations: 3.984 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3769, allocations: 3.938 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3769, allocations: 3.938 kB / 1.367 GB, free: 10.63 MB / 1.061 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.0006379/0.3775, allocations: 397.4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3776, allocations: 12.03 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3776, allocations: 30.75 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.3777, allocations: 20.88 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.3779, allocations: 154.3 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3779, allocations: 8.375 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.378, allocations: 16.38 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3782, allocations: 96.73 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3782, allocations: 11.92 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3782, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3782, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3783, allocations: 43.91 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.3786, allocations: 198.5 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3788, allocations: 103.8 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3789, allocations: 70.69 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3789, allocations: 12 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.3792, allocations: 130.9 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.3792, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0004423/0.3796, allocations: 217.5 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.3797, allocations: 118.8 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3799, allocations: 139.8 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.3799, allocations: 37.69 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.38, allocations: 96.64 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.38, allocations: 55.58 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.3801, allocations: 61.69 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3803, allocations: 338.8 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.3804, allocations: 56.2 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3807, allocations: 459.2 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3809, allocations: 126.5 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3809, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000311/0.3812, allocations: 209.3 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3813, allocations: 8 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.3813, allocations: 4 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3813, allocations: 3.984 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.3814, allocations: 12 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3814, allocations: 0 / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3816, allocations: 55.78 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3816, allocations: 4 kB / 1.37 GB, free: 7.012 MB / 1.061 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.0001394/0.3818, allocations: 145.5 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.3818, allocations: 11.91 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.3818, allocations: 12.72 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3818, allocations: 0 / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3818, allocations: 4 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3818, allocations: 3.984 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.382, allocations: 176.5 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.382, allocations: 0 / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.3821, allocations: 15.92 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3821, allocations: 4 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3821, allocations: 4 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3821, allocations: 4 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3821, allocations: 0 / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.3824, allocations: 202.6 kB / 1.37 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.3824, allocations: 23.97 kB / 1.37 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3824, allocations: 3.984 kB / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.3825, allocations: 19.88 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.3825, allocations: 7.984 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3826, allocations: 15.98 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.3826, allocations: 101.3 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3826, allocations: 0 / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003561/0.383, allocations: 103.8 kB / 1.371 GB, free: 6.09 MB / 1.061 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.0008407/0.3838, allocations: 0.8538 MB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.3842, allocations: 217 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3842, allocations: 0 / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.3843, allocations: 47.92 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.3844, allocations: 11.94 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3865, allocations: 1.822 MB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.3866, allocations: 92.48 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.834e-05/0.3866, allocations: 12.97 kB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.3867, allocations: 35.42 kB / 1.374 GB, free: 2.832 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3867, allocations: 3.938 kB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.4182, allocations: 5.306 MB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 11.88 kB / 1.379 GB, free: 13.69 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.955808327998966]