Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001818/0.001818, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.001671/0.001671, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.074/3.074, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [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.002331/0.002331, allocations: 67.89 kB / 0.9819 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/0.9863, allocations: 176.1 MB / 1.154 GB, free: 33.39 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002606/0.9889, allocations: 1.485 MB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.9899, allocations: 0.6285 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.9899, allocations: 0 / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.774e-05/0.99, allocations: 7.875 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.9901, allocations: 17.77 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.9909, allocations: 353.2 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.9912, allocations: 179.2 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.9912, allocations: 10.34 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/0.9913, allocations: 73.73 kB / 1.157 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.9914, allocations: 41.81 kB / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.9914, allocations: 13.66 kB / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.9918, allocations: 273.6 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.9918, allocations: 44.45 kB / 1.157 GB, free: 31.56 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.9919, allocations: 46.58 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.9923, allocations: 305.9 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9923, allocations: 0 / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9923, allocations: 4 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9923, allocations: 0 / 1.157 GB, free: 31.43 MB / 1.076 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.0005617/0.9929, allocations: 406.2 kB / 1.158 GB, free: 31.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.9929, allocations: 11.44 kB / 1.158 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.993, allocations: 18.31 kB / 1.158 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.9931, allocations: 151.1 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.9931, allocations: 5.75 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.9932, allocations: 12.28 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.9933, allocations: 98.08 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9933, allocations: 4.172 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.9934, allocations: 7.938 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9934, allocations: 6.531 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.9934, allocations: 44.16 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.9936, allocations: 175.1 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.9938, allocations: 98.28 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.9938, allocations: 66.16 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.9938, allocations: 2.781 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.994, allocations: 135.4 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.994, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.000353/0.9944, allocations: 218.9 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.9944, allocations: 126.8 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.9945, allocations: 142.3 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.9945, allocations: 39.45 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.9946, allocations: 91.55 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.9946, allocations: 54.88 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.9947, allocations: 62.38 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.9947, allocations: 327.4 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.9948, allocations: 51.28 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.995, allocations: 459.7 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.9952, allocations: 142 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9952, allocations: 0 / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002365/0.9954, allocations: 202 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.9954, allocations: 5.5 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.9955, allocations: 5.5 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9955, allocations: 0 / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.9956, allocations: 19.38 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9956, allocations: 0 / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.9958, allocations: 51.16 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.9958, allocations: 13.17 kB / 1.16 GB, free: 28.88 MB / 1.076 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.0001106/0.9959, allocations: 139.3 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.9959, allocations: 13.83 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.996, allocations: 22.66 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.996, allocations: 2.875 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.996, allocations: 0 / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.996, allocations: 0 / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.9961, allocations: 139.7 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9961, allocations: 6.844 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.9961, allocations: 12.06 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9961, allocations: 7.938 kB / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.9962, allocations: 6.438 kB / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9962, allocations: 2.906 kB / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9962, allocations: 0 / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.9964, allocations: 214.7 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.9964, allocations: 21.38 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.9965, allocations: 0 / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.9965, allocations: 9.344 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.9966, allocations: 13.91 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.9966, allocations: 5.719 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.9966, allocations: 111 kB / 1.161 GB, free: 28.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9966, allocations: 4 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003486/0.997, allocations: 101.5 kB / 1.161 GB, free: 28.29 MB / 1.076 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.0002612/0.9972, allocations: 202.6 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.9975, allocations: 214.6 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9975, allocations: 2.406 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.9976, allocations: 44.38 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.9977, allocations: 12.45 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.9981, allocations: 251.1 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.9982, allocations: 93.11 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.9982, allocations: 13.05 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.9983, allocations: 18.03 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.9983, allocations: 0 / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of Templates: time 0.00595/1.004, allocations: 3.229 MB / 1.165 GB, free: 27.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.407439529895782]