Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001713/0.001713, allocations: 114 kB / 17.6 MB, free: 4.699 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.002096/0.002096, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.18 MB / 190.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.86/2.86, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.88 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.216, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002688/1.219, allocations: 1.504 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001196/1.22, allocations: 0.6965 MB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/1.22, allocations: 0.8125 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/1.22, allocations: 16.38 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/1.22, allocations: 16.95 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.222, allocations: 340.4 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000264/1.222, allocations: 167.7 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/1.222, allocations: 13.86 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/1.222, allocations: 58.94 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/1.222, allocations: 63.59 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/1.222, allocations: 12 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/1.223, allocations: 252.2 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/1.223, allocations: 35.83 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/1.223, allocations: 65.44 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004591/1.223, allocations: 297.9 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.223, allocations: 4.844 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.32e-07/1.223, allocations: 0 / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.223, allocations: 0 / 1.275 GB, free: 5.688 MB / 0.9981 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.0006057/1.224, allocations: 486.7 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.224, allocations: 9.812 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/1.224, allocations: 36.97 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/1.224, allocations: 13.84 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/1.224, allocations: 208.4 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/1.224, allocations: 13.44 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/1.224, allocations: 8.219 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/1.224, allocations: 104.4 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.224, allocations: 8.594 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/1.224, allocations: 8.703 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.224, allocations: 1.219 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/1.225, allocations: 45.31 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/1.225, allocations: 251.4 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.225, allocations: 105.7 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/1.225, allocations: 60.75 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.225, allocations: 4.109 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/1.225, allocations: 138.5 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/1.225, allocations: 0.7812 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0004655/1.226, allocations: 219.9 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/1.226, allocations: 110.3 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.226, allocations: 141.5 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/1.226, allocations: 35.78 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/1.226, allocations: 95.66 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/1.226, allocations: 64.25 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/1.226, allocations: 65.16 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.836e-05/1.226, allocations: 330.4 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/1.226, allocations: 52.33 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/1.226, allocations: 182.8 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/1.227, allocations: 127.6 kB / 1.278 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.227, allocations: 0 / 1.278 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003306/1.227, allocations: 211.1 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.227, allocations: 5.719 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/1.227, allocations: 4.172 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.227, allocations: 1.156 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.227, allocations: 13.66 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.227, allocations: 10.33 kB / 1.278 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.227, allocations: 50.61 kB / 1.278 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/1.227, allocations: 10.5 kB / 1.278 GB, free: 3.176 MB / 0.9981 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.0001127/1.228, allocations: 142.4 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/1.228, allocations: 15.41 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/1.228, allocations: 15.88 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.228, allocations: 1.781 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.228, allocations: 5.844 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.228, allocations: 0.75 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/1.228, allocations: 213.1 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.228, allocations: 0.9375 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/1.228, allocations: 14.53 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.228, allocations: 5.594 kB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/1.228, allocations: 6.781 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.228, allocations: 2.203 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.228, allocations: 4.719 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/1.228, allocations: 211 kB / 1.279 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/1.228, allocations: 90.72 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/1.228, allocations: 3.672 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/1.228, allocations: 11.72 kB / 1.279 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/1.228, allocations: 12.06 kB / 1.279 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.228, allocations: 5.453 kB / 1.279 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.976e-05/1.228, allocations: 114.7 kB / 1.279 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.228, allocations: 0 / 1.279 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004634/1.229, allocations: 106 kB / 1.279 GB, free: 2.422 MB / 0.9981 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.0007057/1.23, allocations: 0.8473 MB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003427/1.23, allocations: 206.4 kB / 1.28 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.23, allocations: 0 / 1.28 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/1.23, allocations: 51.41 kB / 1.28 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/1.23, allocations: 17.52 kB / 1.28 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.232, allocations: 1.818 MB / 1.282 GB, free: 164 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/1.233, allocations: 0.7134 MB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.134e-05/1.233, allocations: 9.891 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/1.233, allocations: 35.92 kB / 1.283 GB, free: 15.43 MB / 1.014 GB Notification: Performance of SimCode: time 4.3e-07/1.233, allocations: 1.5 kB / 1.283 GB, free: 15.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/1.262, allocations: 4.608 MB / 1.287 GB, free: 14.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/11.04, allocations: 10.7 kB / 1.287 GB, free: 14.77 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.646764609991806]