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.001758/0.001758, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002272/0.002272, allocations: 223.6 kB / 22.25 MB, free: 5.109 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.82 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.483/3.483, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.002446/0.002446, allocations: 65.05 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3832, allocations: 181.9 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002803/0.386, allocations: 1.477 MB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3872, allocations: 0.6278 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.3872, allocations: 4 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.947e-05/0.3873, allocations: 11.86 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.3873, allocations: 11.86 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3884, allocations: 371.9 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.3887, allocations: 171.6 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3887, allocations: 4 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3888, allocations: 67.89 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3889, allocations: 47.77 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.389, allocations: 12 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.3894, allocations: 279.6 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.3895, allocations: 35.91 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.3896, allocations: 51.77 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.3901, allocations: 319.3 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3901, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3901, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3901, allocations: 0 / 1.367 GB, free: 10.7 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.0006433/0.3907, allocations: 401.4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3908, allocations: 12.02 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.3908, allocations: 38.75 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3909, allocations: 8.891 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3911, allocations: 160.6 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3911, allocations: 8.375 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.3911, allocations: 12.38 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3913, allocations: 96.8 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3913, allocations: 3.938 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3914, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3914, allocations: 3.938 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3915, allocations: 51.91 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.3917, allocations: 194.5 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3919, allocations: 99.81 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.392, allocations: 70.69 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.392, allocations: 8 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.3923, allocations: 143.1 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.3923, allocations: 0 / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0004369/0.3927, allocations: 206.2 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.3928, allocations: 126.7 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.393, allocations: 137.7 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.393, allocations: 37.7 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3931, allocations: 100.6 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.3931, allocations: 51.59 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.3932, allocations: 65.62 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3934, allocations: 326.8 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3935, allocations: 60.19 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3939, allocations: 459.2 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3941, allocations: 134.5 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3941, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003298/0.3944, allocations: 205.3 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3945, allocations: 6.969 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.3945, allocations: 4 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3945, allocations: 0 / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.3946, allocations: 19.92 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3946, allocations: 0 / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3948, allocations: 55.84 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3948, allocations: 8.234 kB / 1.37 GB, free: 7.074 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.0001494/0.395, allocations: 144.3 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.395, allocations: 11.91 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.395, allocations: 16.72 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.395, allocations: 4 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3951, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3951, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3952, allocations: 180.5 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3952, allocations: 0 / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.3953, allocations: 12 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3953, allocations: 0 / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3953, allocations: 4 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3953, allocations: 3.984 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3953, allocations: 0 / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.3956, allocations: 215.9 kB / 1.37 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3957, allocations: 15.84 kB / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3957, allocations: 7.984 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.763e-05/0.3957, allocations: 7.938 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.3958, allocations: 15.98 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3958, allocations: 4 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.95e-05/0.3959, allocations: 107.2 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3959, allocations: 0 / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003867/0.3963, allocations: 103.8 kB / 1.371 GB, free: 6.156 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.0009156/0.3972, allocations: 0.8483 MB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.3975, allocations: 205 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3975, allocations: 0 / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.3976, allocations: 51.91 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.3978, allocations: 14.38 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.4001, allocations: 1.833 MB / 1.374 GB, free: 3.055 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.4002, allocations: 100.4 kB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.4002, allocations: 12.97 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.4003, allocations: 27.44 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/0.4003, allocations: 0 / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4346, allocations: 5.301 MB / 1.379 GB, free: 13.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.95, allocations: 5.719 kB / 1.379 GB, free: 13.77 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.26650406885892]