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.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.00156/0.00156, 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.002415/0.002415, allocations: 206.4 kB / 22.24 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_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.002124/0.002124, allocations: 66.08 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003122/0.3624, allocations: 1.48 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3638, allocations: 0.6441 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.3638, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.765e-05/0.3639, allocations: 7.922 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.364, allocations: 23.78 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3651, allocations: 348.3 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.3653, allocations: 175.6 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.3654, allocations: 4 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3655, allocations: 75.81 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3656, allocations: 43.83 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.3657, allocations: 12 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.3662, allocations: 283.6 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.3662, allocations: 39.84 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.3663, allocations: 47.84 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.3668, allocations: 304.8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3668, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3668, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.3668, allocations: 0 / 1.286 GB, free: 8.961 MB / 0.9825 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.0007095/0.3676, allocations: 411.2 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3676, allocations: 8.031 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.3676, allocations: 42.73 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.3677, allocations: 16.84 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.368, allocations: 144.9 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.368, allocations: 16.36 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.368, allocations: 8.375 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3682, allocations: 100.7 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3682, allocations: 7.938 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3682, allocations: 3.938 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3682, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3683, allocations: 51.91 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.3686, allocations: 194.5 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3688, allocations: 103.9 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3689, allocations: 66.66 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3689, allocations: 0 / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.3692, allocations: 141.8 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.3692, allocations: 4 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004647/0.3696, allocations: 214.1 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.3697, allocations: 118.8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3699, allocations: 144.1 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.3699, allocations: 37.7 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.37, allocations: 96.64 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.37, allocations: 59.58 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.3701, allocations: 53.7 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3703, allocations: 330.8 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3704, allocations: 52.2 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.3708, allocations: 463.2 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.371, allocations: 138.5 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.371, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003323/0.3714, allocations: 205.3 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3714, allocations: 7.984 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.3714, allocations: 4.234 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3714, allocations: 4 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3715, allocations: 8 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3715, allocations: 3.984 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.3718, allocations: 59.78 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3718, allocations: 11.94 kB / 1.289 GB, free: 5.324 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.0001388/0.3719, allocations: 136.4 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3719, allocations: 7.953 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.372, allocations: 20.7 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.372, allocations: 4 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.372, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.372, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.3722, allocations: 172.5 kB / 1.289 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.3722, allocations: 11.92 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.3722, allocations: 15.94 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3722, allocations: 0 / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3723, allocations: 4 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3723, allocations: 0 / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3723, allocations: 0 / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.3726, allocations: 218.6 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.3726, allocations: 16.03 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3726, allocations: 0 / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.3727, allocations: 11.92 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3727, allocations: 19.91 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.3727, allocations: 8 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.887e-05/0.3728, allocations: 103.3 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3728, allocations: 0 / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003989/0.3732, allocations: 103.8 kB / 1.29 GB, free: 4.406 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.0009543/0.3742, allocations: 0.8429 MB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.3745, allocations: 205 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3745, allocations: 0 / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3746, allocations: 51.92 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.3748, allocations: 11.92 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.377, allocations: 1.828 MB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3772, allocations: 96.61 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.283e-05/0.3772, allocations: 8.984 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.3773, allocations: 35.42 kB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3773, allocations: 0 / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.4121, allocations: 5.303 MB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 5.688 kB / 1.298 GB, free: 12.04 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] 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/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: 18.730306673794985]