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.001901/0.001901, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002819/0.002819, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.587/1.587, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.017/3.017, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.841e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002916/0.002944, allocations: 1.471 MB / 0.9828 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.00424, allocations: 0.6263 MB / 0.9834 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.004302, allocations: 0 / 0.9834 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.004388, allocations: 7.922 kB / 0.9834 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.004465, allocations: 19.8 kB / 0.9835 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.00567, allocations: 357.2 kB / 0.9838 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.005984, allocations: 179.6 kB / 0.984 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.006029, allocations: 4 kB / 0.984 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.006223, allocations: 95.86 kB / 0.9841 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.006326, allocations: 39.89 kB / 0.9841 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.006371, allocations: 12 kB / 0.9841 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.006892, allocations: 275.5 kB / 0.9844 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.006989, allocations: 43.89 kB / 0.9844 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.007082, allocations: 39.86 kB / 0.9845 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.007863, allocations: 367 kB / 0.9848 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007866, allocations: 4 kB / 0.9848 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007868, allocations: 0 / 0.9848 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.007874, allocations: 4 kB / 0.9848 GB, free: 7.371 MB / 0.8887 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.0009609/0.008835, allocations: 405.3 kB / 0.9852 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.008881, allocations: 8.031 kB / 0.9852 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.008957, allocations: 12.89 kB / 0.9852 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.009228, allocations: 153.5 kB / 0.9854 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.00925, allocations: 12.38 kB / 0.9854 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.009281, allocations: 8.375 kB / 0.9854 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.009506, allocations: 98.89 kB / 0.9855 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.009519, allocations: 4.188 kB / 0.9855 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.009533, allocations: 384 / 0.9855 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.009539, allocations: 4.375 kB / 0.9855 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.009653, allocations: 51.84 kB / 0.9855 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.009941, allocations: 167.1 kB / 0.9857 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.01026, allocations: 107.9 kB / 0.9858 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.01038, allocations: 66.66 kB / 0.9859 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.01039, allocations: 0 / 0.9859 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.01072, allocations: 139.7 kB / 0.986 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.01072, allocations: 0 / 0.986 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.0005266/0.01125, allocations: 218.1 kB / 0.9862 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.01136, allocations: 126.7 kB / 0.9863 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.01152, allocations: 141.8 kB / 0.9865 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.01158, allocations: 37.7 kB / 0.9865 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.01173, allocations: 96.64 kB / 0.9866 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.01182, allocations: 59.53 kB / 0.9867 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01193, allocations: 57.69 kB / 0.9867 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.01215, allocations: 330.8 kB / 0.987 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01226, allocations: 48.27 kB / 0.9871 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.01274, allocations: 461.9 kB / 0.9875 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.013, allocations: 142.5 kB / 0.9877 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.013, allocations: 0 / 0.9877 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004842/0.01348, allocations: 197.6 kB / 0.9878 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.01351, allocations: 5.562 kB / 0.9878 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/0.01354, allocations: 8.062 kB / 0.9879 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.01357, allocations: 7.938 kB / 0.9879 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01368, allocations: 11.94 kB / 0.9879 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.0137, allocations: 7.922 kB / 0.9879 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.01395, allocations: 47.84 kB / 0.9879 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.01397, allocations: 12 kB / 0.9879 GB, free: 3.832 MB / 0.8887 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.0001691/0.01414, allocations: 140.4 kB / 0.9881 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.01417, allocations: 11.91 kB / 0.9881 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.01421, allocations: 16.78 kB / 0.9881 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.01422, allocations: 11.92 kB / 0.9881 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.01423, allocations: 0 / 0.9881 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01423, allocations: 0 / 0.9881 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.01441, allocations: 137.3 kB / 0.9882 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01441, allocations: 0 / 0.9882 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.01446, allocations: 12 kB / 0.9883 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01447, allocations: 3.938 kB / 0.9883 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01448, allocations: 8 kB / 0.9883 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01448, allocations: 0 / 0.9883 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.01449, allocations: 3.938 kB / 0.9883 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.01482, allocations: 218.6 kB / 0.9885 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.01485, allocations: 15.84 kB / 0.9885 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.01488, allocations: 8 kB / 0.9885 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.01494, allocations: 3.984 kB / 0.9885 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.015, allocations: 16.12 kB / 0.9885 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.01501, allocations: 4 kB / 0.9885 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.0151, allocations: 107.2 kB / 0.9886 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.0151, allocations: 0 / 0.9886 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004223/0.01552, allocations: 103.8 kB / 0.9887 GB, free: 2.961 MB / 0.8887 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.0004948/0.01602, allocations: 231.6 kB / 0.9889 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.01644, allocations: 205 kB / 0.9891 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01644, allocations: 0 / 0.9891 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.01655, allocations: 47.92 kB / 0.9892 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.01675, allocations: 11.03 kB / 0.9892 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.01735, allocations: 247.8 kB / 0.9894 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.01747, allocations: 96.81 kB / 0.9895 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.085e-05/0.01753, allocations: 12.97 kB / 0.9895 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.01758, allocations: 20.5 kB / 0.9896 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.01758, allocations: 0 / 0.9896 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of Templates: time 0.008718/0.0263, allocations: 3.234 MB / 0.9927 GB, free: 14.85 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.644239194691181]