Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001889/0.001889, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002378/0.002378, allocations: 216.5 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_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.002086/0.002086, allocations: 65.86 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003226/0.3719, allocations: 1.478 MB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3734, allocations: 0.6228 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.3734, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.3735, allocations: 11.86 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.3736, allocations: 23.84 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3749, allocations: 353.6 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.3752, allocations: 167.6 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.3753, allocations: 12 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3754, allocations: 75.88 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3755, allocations: 51.75 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.3755, allocations: 12 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.3761, allocations: 299.6 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.3762, allocations: 35.91 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.3763, allocations: 51.78 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.3768, allocations: 307.3 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3768, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3768, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3768, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 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.0007365/0.3775, allocations: 405.4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3776, allocations: 8.031 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.3776, allocations: 42.73 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.3777, allocations: 20.84 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.378, allocations: 146.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.378, allocations: 8.375 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.378, allocations: 12.36 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3782, allocations: 100.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3782, allocations: 7.875 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3783, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3783, allocations: 3.938 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3784, allocations: 47.97 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.3787, allocations: 194.5 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3788, allocations: 111.8 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3789, allocations: 66.66 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.379, allocations: 3.938 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.3793, allocations: 138.8 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.3793, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004671/0.3797, allocations: 217.4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.3798, allocations: 114.8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.38, allocations: 143 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.38, allocations: 37.7 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.3801, allocations: 100.6 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.3802, allocations: 55.62 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.3803, allocations: 61.62 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3805, allocations: 330.8 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3806, allocations: 48.27 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.381, allocations: 464.4 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3812, allocations: 126.6 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3812, allocations: 0 / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000327/0.3816, allocations: 205.3 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3816, allocations: 5.562 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.3816, allocations: 12.92 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3816, allocations: 8 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3818, allocations: 11.94 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3818, allocations: 4 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.382, allocations: 47.8 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.382, allocations: 15.98 kB / 1.332 GB, free: 10.38 MB / 1.029 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.00015/0.3822, allocations: 136.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.3822, allocations: 7.953 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.3822, allocations: 24.7 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3823, allocations: 4 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3823, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3823, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3825, allocations: 172.5 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3825, allocations: 4 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.3825, allocations: 11.98 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3825, allocations: 0 / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3825, allocations: 4 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3825, allocations: 0 / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3825, allocations: 0 / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.3829, allocations: 227.4 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.3829, allocations: 23.83 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3829, allocations: 4 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.383, allocations: 3.938 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.383, allocations: 19.91 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3831, allocations: 4 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.3831, allocations: 103.3 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3831, allocations: 0 / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003863/0.3835, allocations: 103.8 kB / 1.333 GB, free: 9.453 MB / 1.029 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.0008877/0.3844, allocations: 0.8534 MB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.3848, allocations: 208.9 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3848, allocations: 0 / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.3849, allocations: 51.97 kB / 1.334 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.385, allocations: 15.94 kB / 1.334 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3872, allocations: 1.814 MB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.3873, allocations: 100.4 kB / 1.336 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.3873, allocations: 16.97 kB / 1.336 GB, free: 6.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.3874, allocations: 35.42 kB / 1.336 GB, free: 6.195 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3874, allocations: 0 / 1.336 GB, free: 6.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.4211, allocations: 5.328 MB / 1.341 GB, free: 1.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.7, allocations: 6.641 kB / 1.341 GB, free: 1.035 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.71815739700105]