Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.00235/0.00235, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002062/0.002062, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.459/3.459, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.101e-05, allocations: 4.062 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002747/0.002778, allocations: 1.517 MB / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003979, allocations: 0.6586 MB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.004013, allocations: 1.062 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.968e-05/0.004093, allocations: 7.938 kB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.004155, allocations: 11.86 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.005367, allocations: 364.9 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.005647, allocations: 175.6 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.005688, allocations: 8.516 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.005835, allocations: 96.98 kB / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.005924, allocations: 39.88 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.005968, allocations: 12 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.006439, allocations: 276.6 kB / 0.8805 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.006527, allocations: 43.89 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.006608, allocations: 41.25 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.007129, allocations: 359 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.007132, allocations: 0 / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007133, allocations: 0 / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.007138, allocations: 5.094 kB / 0.8809 GB, free: 3.105 MB / 0.8386 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.0007363/0.007874, allocations: 0.4993 MB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.00791, allocations: 8.688 kB / 0.8814 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.007986, allocations: 24.78 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.008243, allocations: 164.1 kB / 0.8816 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.008258, allocations: 4.375 kB / 0.8816 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.008287, allocations: 12.38 kB / 0.8816 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.008475, allocations: 97.81 kB / 0.8817 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.008483, allocations: 1.062 kB / 0.8817 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.008494, allocations: 384 / 0.8817 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.0085, allocations: 4.375 kB / 0.8817 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.008602, allocations: 43.3 kB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.00887, allocations: 188.1 kB / 0.8819 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.009069, allocations: 125.3 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.00919, allocations: 71.14 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.009208, allocations: 4 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.009455, allocations: 144 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.009456, allocations: 0 / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.000465/0.009921, allocations: 201.9 kB / 0.8824 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.01002, allocations: 118.8 kB / 0.8826 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.01021, allocations: 211.1 kB / 0.8828 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.01025, allocations: 33.7 kB / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01036, allocations: 151.4 kB / 0.8829 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.01044, allocations: 61.09 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.01056, allocations: 75.34 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002809/0.01084, allocations: 0.504 MB / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.01093, allocations: 40.27 kB / 0.8836 GB, free: 80 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.01139, allocations: 485.8 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.01161, allocations: 135 kB / 0.8842 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01161, allocations: 4 kB / 0.8842 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003346/0.01195, allocations: 201.3 kB / 0.8844 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01196, allocations: 6.344 kB / 0.8844 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.01199, allocations: 8.922 kB / 0.8844 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01201, allocations: 7.938 kB / 0.8844 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01215, allocations: 24 kB / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.01216, allocations: 3.984 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.01236, allocations: 43.23 kB / 0.8845 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.01237, allocations: 12 kB / 0.8845 GB, free: 15.03 MB / 0.8542 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.0001643/0.01254, allocations: 179.1 kB / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.01257, allocations: 15.91 kB / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.01261, allocations: 16.78 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.01262, allocations: 7.922 kB / 0.8847 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.01263, allocations: 4 kB / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01263, allocations: 0 / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.01281, allocations: 152.5 kB / 0.8848 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01281, allocations: 0 / 0.8848 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.01286, allocations: 19.94 kB / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01287, allocations: 0 / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01288, allocations: 4 kB / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01288, allocations: 0 / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.01289, allocations: 7.938 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.01322, allocations: 221.8 kB / 0.8851 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.01324, allocations: 15.89 kB / 0.8851 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01327, allocations: 3.984 kB / 0.8851 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.01332, allocations: 8 kB / 0.8851 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.01338, allocations: 11.92 kB / 0.8851 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.01339, allocations: 8 kB / 0.8851 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001074/0.0135, allocations: 151.2 kB / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0135, allocations: 0 / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000361/0.01386, allocations: 103.7 kB / 0.8854 GB, free: 14.05 MB / 0.8542 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.0003682/0.01423, allocations: 214.9 kB / 0.8856 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.01459, allocations: 220.6 kB / 0.8858 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01459, allocations: 0 / 0.8858 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01469, allocations: 59.59 kB / 0.8858 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.01486, allocations: 8 kB / 0.8859 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.01535, allocations: 249.7 kB / 0.8861 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01546, allocations: 100.7 kB / 0.8862 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.837e-05/0.01551, allocations: 12.97 kB / 0.8862 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.01554, allocations: 12.5 kB / 0.8862 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01554, allocations: 0 / 0.8862 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.007878/0.02342, allocations: 3.267 MB / 0.8894 GB, free: 9.895 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.825289363972843]