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.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.0008746/0.0008746, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009843/0.0009843, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.423e-06/1.423e-06, allocations: 0 / 0.9504 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.125e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001892/0.001913, allocations: 1.474 MB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.00266, allocations: 0.6504 MB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.002703, allocations: 4 kB / 0.9525 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 7.5e-05/0.002778, allocations: 7.922 kB / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.002839, allocations: 11.88 kB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.003617, allocations: 363.6 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.003809, allocations: 171.6 kB / 0.9531 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.003849, allocations: 8 kB / 0.9531 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.261e-05/0.003941, allocations: 91.86 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.004015, allocations: 47.88 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.004043, allocations: 12 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.004335, allocations: 271.5 kB / 0.9535 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.004394, allocations: 43.89 kB / 0.9535 GB, free: 356 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.004448, allocations: 39.91 kB / 0.9536 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.004782, allocations: 363.1 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004784, allocations: 0 / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004785, allocations: 4 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004789, allocations: 0 / 0.9539 GB, free: 15.95 MB / 0.9167 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.0004573/0.005246, allocations: 415.2 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.005282, allocations: 8.031 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.005315, allocations: 42.73 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.005353, allocations: 8.891 kB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005513, allocations: 153.5 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005526, allocations: 12.3 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.005546, allocations: 12.38 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.005692, allocations: 100.8 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.0057, allocations: 4.188 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.005708, allocations: 384 / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005715, allocations: 4.125 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.005787, allocations: 51.91 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.005968, allocations: 190.5 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.006078, allocations: 107.9 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.006142, allocations: 58.67 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.006152, allocations: 4 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.006336, allocations: 151.6 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 8.32e-07/0.006336, allocations: 4 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.0003093/0.006646, allocations: 217.9 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.006697, allocations: 114.8 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.006783, allocations: 147.5 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.006806, allocations: 33.7 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.006849, allocations: 96.64 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.006897, allocations: 55.59 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.006955, allocations: 57.69 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.007037, allocations: 330.8 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.007103, allocations: 60.2 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.007313, allocations: 467.2 kB / 0.9567 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.007457, allocations: 134.5 kB / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00746, allocations: 0 / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001913/0.007651, allocations: 197.4 kB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007664, allocations: 7.938 kB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.007683, allocations: 7.984 kB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007694, allocations: 0 / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.007757, allocations: 19.94 kB / 0.957 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.007761, allocations: 0 / 0.957 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.007879, allocations: 51.78 kB / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.007888, allocations: 8 kB / 0.9571 GB, free: 12.31 MB / 0.9167 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 8.868e-05/0.007977, allocations: 144.6 kB / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.007992, allocations: 15.84 kB / 0.9572 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.008017, allocations: 16.77 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.008021, allocations: 4 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.008027, allocations: 3.938 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.00803, allocations: 0 / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.008133, allocations: 168.6 kB / 0.9574 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.008136, allocations: 4 kB / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.008162, allocations: 15.98 kB / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008164, allocations: 3.938 kB / 0.9574 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.008173, allocations: 4 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.008174, allocations: 0 / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.008175, allocations: 0 / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.008363, allocations: 210.6 kB / 0.9577 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.008374, allocations: 19.78 kB / 0.9577 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.008389, allocations: 4 kB / 0.9577 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.008418, allocations: 4 kB / 0.9577 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.008458, allocations: 19.91 kB / 0.9577 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.008464, allocations: 4 kB / 0.9577 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.008508, allocations: 109.8 kB / 0.9578 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008508, allocations: 0 / 0.9578 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002378/0.008746, allocations: 103.8 kB / 0.9579 GB, free: 11.39 MB / 0.9167 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.0004819/0.009228, allocations: 0.8545 MB / 0.9587 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.009455, allocations: 212.9 kB / 0.9589 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009457, allocations: 0 / 0.9589 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.009509, allocations: 43.92 kB / 0.959 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.009631, allocations: 11.98 kB / 0.959 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.01092, allocations: 1.847 MB / 0.9608 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.804e-05/0.01098, allocations: 88.81 kB / 0.9609 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.01102, allocations: 16.91 kB / 0.9609 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.01106, allocations: 36.48 kB / 0.9609 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/0.01106, allocations: 0 / 0.9609 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.02703, allocations: 5.432 MB / 0.9662 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.016, allocations: 4.062 kB / 0.9662 GB, free: 2.863 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=127.872 --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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.975173665210605]