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.001749/0.001749, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002578/0.002578, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.411/3.411, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [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.002458/0.002458, allocations: 68.2 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5129, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003191/0.5161, allocations: 1.505 MB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.5177, allocations: 0.685 MB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.5178, allocations: 0 / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.445e-05/0.5179, allocations: 11.92 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.5179, allocations: 15.8 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.519, allocations: 363.9 kB / 1.357 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.5193, allocations: 171.6 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.5193, allocations: 4 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.5194, allocations: 75.81 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.5195, allocations: 51.81 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.5196, allocations: 12 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.52, allocations: 287.7 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.5201, allocations: 31.91 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.5202, allocations: 67.7 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.5207, allocations: 315 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5207, allocations: 0 / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5207, allocations: 0 / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5207, allocations: 0 / 1.358 GB, free: 4.348 MB / 1.045 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.0006815/0.5214, allocations: 405.4 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5214, allocations: 11.97 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.5215, allocations: 12.89 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.5218, allocations: 158.3 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5218, allocations: 4.375 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.5218, allocations: 12.38 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.522, allocations: 100.7 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.522, allocations: 4.125 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.522, allocations: 3.938 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.522, allocations: 4 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.5221, allocations: 43.91 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.5225, allocations: 226.5 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.5226, allocations: 99.81 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5227, allocations: 70.7 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.5228, allocations: 4 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.5231, allocations: 137.8 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.5231, allocations: 0 / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0004537/0.5236, allocations: 217.7 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.5236, allocations: 122.8 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5238, allocations: 143.2 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.5239, allocations: 37.69 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.5239, allocations: 100.6 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.524, allocations: 55.58 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.5241, allocations: 57.69 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.5243, allocations: 330.8 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.5244, allocations: 52.27 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5247, allocations: 180.5 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.5249, allocations: 130.5 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5249, allocations: 7.938 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003493/0.5253, allocations: 201.3 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.5253, allocations: 4 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.5253, allocations: 4 kB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5253, allocations: 4 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.5254, allocations: 15.98 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5254, allocations: 4 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.5257, allocations: 45.53 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.5257, allocations: 8 kB / 1.36 GB, free: 1.086 MB / 1.045 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.0001543/0.5258, allocations: 152.3 kB / 1.361 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.5259, allocations: 15.84 kB / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.5259, allocations: 12.72 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5259, allocations: 4 kB / 1.361 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5259, allocations: 0 / 1.361 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5259, allocations: 0 / 1.361 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.5262, allocations: 184.5 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5262, allocations: 0 / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.5262, allocations: 16 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5263, allocations: 11.92 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5263, allocations: 4.141 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5263, allocations: 0 / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5263, allocations: 3.938 kB / 1.361 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.5266, allocations: 215.5 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.5266, allocations: 19.83 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.5266, allocations: 12 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.5267, allocations: 3.938 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.5267, allocations: 11.98 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5268, allocations: 7.938 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.5268, allocations: 109 kB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5268, allocations: 0 / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003974/0.5272, allocations: 103.8 kB / 1.361 GB, free: 144 kB / 1.045 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.0003588/0.5276, allocations: 203.2 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.528, allocations: 208.9 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.528, allocations: 0 / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.5281, allocations: 51.91 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.5283, allocations: 14.44 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.5288, allocations: 274.8 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.5292, allocations: 0.7122 MB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.5293, allocations: 19.44 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.5293, allocations: 0 / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of Templates: time 0.006466/0.5357, allocations: 3.113 MB / 1.366 GB, free: 11.49 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 800] 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] "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time [Calling sys.exit(0), Time elapsed: 12.436080095998477]