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.00266/0.00266, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002995/0.002995, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.656/1.656, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.934/2.934, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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: 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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.478e-05, allocations: 5.266 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003685/0.00372, allocations: 1.505 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.005449, allocations: 0.6824 MB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.005494, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.005595, allocations: 11.86 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.446e-05/0.005689, allocations: 21.02 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.007004, allocations: 348.4 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.007379, allocations: 171.6 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.007433, allocations: 5.062 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.00764, allocations: 99.84 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.007766, allocations: 41.41 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.007812, allocations: 12 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006665/0.008478, allocations: 279.5 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.008582, allocations: 47.83 kB / 0.7895 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.00869, allocations: 44.45 kB / 0.7895 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007068/0.009397, allocations: 351.2 kB / 0.7898 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0094, allocations: 1.062 kB / 0.7898 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.009402, allocations: 0 / 0.7898 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.009407, allocations: 0 / 0.7898 GB, free: 9.27 MB / 0.7448 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.000969/0.01038, allocations: 0.5047 MB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.01042, allocations: 12.03 kB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.01051, allocations: 12.89 kB / 0.7904 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.01084, allocations: 164.1 kB / 0.7905 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.01086, allocations: 8.359 kB / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.0109, allocations: 16.38 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.01115, allocations: 97.23 kB / 0.7906 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.01117, allocations: 6.672 kB / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.01118, allocations: 384 / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.01118, allocations: 384 / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.01133, allocations: 43.91 kB / 0.7907 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.01172, allocations: 192 kB / 0.7909 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.01198, allocations: 117.3 kB / 0.791 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.01214, allocations: 75.75 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.01215, allocations: 1.656 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.01246, allocations: 144.1 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.01246, allocations: 0 / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0005914/0.01305, allocations: 201.3 kB / 0.7914 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.01317, allocations: 116 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.01348, allocations: 204.2 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.01353, allocations: 41.7 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01366, allocations: 139.4 kB / 0.7918 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.01379, allocations: 80.81 kB / 0.7919 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.01395, allocations: 71.34 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003613/0.01431, allocations: 0.5079 MB / 0.7925 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01444, allocations: 42.02 kB / 0.7925 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.01503, allocations: 470.9 kB / 0.793 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.01535, allocations: 143 kB / 0.7931 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01535, allocations: 0 / 0.7931 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006064/0.01596, allocations: 189.5 kB / 0.7933 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.01598, allocations: 8.625 kB / 0.7933 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.016, allocations: 4 kB / 0.7933 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.01603, allocations: 4.844 kB / 0.7933 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.01621, allocations: 27.92 kB / 0.7933 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01622, allocations: 5.938 kB / 0.7933 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.01648, allocations: 35.86 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.0165, allocations: 8 kB / 0.7934 GB, free: 5.219 MB / 0.7448 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.0002051/0.0167, allocations: 185.3 kB / 0.7936 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.01676, allocations: 15.91 kB / 0.7936 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.0168, allocations: 16.78 kB / 0.7936 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.01681, allocations: 12.02 kB / 0.7936 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.01682, allocations: 3.984 kB / 0.7936 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.01683, allocations: 8.453 kB / 0.7936 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.01706, allocations: 156.5 kB / 0.7938 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.01707, allocations: 4.719 kB / 0.7938 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.01713, allocations: 8 kB / 0.7938 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01714, allocations: 0.5312 kB / 0.7938 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.01715, allocations: 9.594 kB / 0.7938 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01716, allocations: 0 / 0.7938 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.01716, allocations: 3.938 kB / 0.7938 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.01759, allocations: 213.3 kB / 0.794 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.01762, allocations: 12.44 kB / 0.794 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.01766, allocations: 4 kB / 0.794 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.01774, allocations: 9.297 kB / 0.794 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.0178, allocations: 11.98 kB / 0.794 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01781, allocations: 4 kB / 0.794 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001396/0.01795, allocations: 148.1 kB / 0.7942 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01795, allocations: 0 / 0.7942 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005428/0.0185, allocations: 107.7 kB / 0.7943 GB, free: 4.242 MB / 0.7448 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.0005055/0.019, allocations: 217.1 kB / 0.7945 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.01951, allocations: 229.6 kB / 0.7947 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01951, allocations: 0 / 0.7947 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.01966, allocations: 56.14 kB / 0.7948 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01991, allocations: 14.72 kB / 0.7948 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.02053, allocations: 249.6 kB / 0.795 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.02067, allocations: 98.48 kB / 0.7951 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.508e-05/0.02073, allocations: 8.984 kB / 0.7951 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.02078, allocations: 21.36 kB / 0.7951 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.02078, allocations: 0 / 0.7951 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of Templates: time 0.01038/0.03115, allocations: 3.257 MB / 0.7983 GB, free: 96 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] 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: 8.43206027301494]