Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001446/0.001446, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.00181/0.00181, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7714 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.003578/0.003578, allocations: 65.84 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.384, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003891/0.3879, allocations: 1.53 MB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3898, allocations: 0.6985 MB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.3899, allocations: 4 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.39, allocations: 3.938 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.132e-05/0.39, allocations: 19.86 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3914, allocations: 355 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.3917, allocations: 171.6 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.3918, allocations: 7.984 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3919, allocations: 67.84 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.3921, allocations: 51.81 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.3921, allocations: 12 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006735/0.3928, allocations: 303.6 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3929, allocations: 39.83 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.393, allocations: 55.8 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.3936, allocations: 303 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3936, allocations: 4 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3936, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3936, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 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.0007935/0.3944, allocations: 401.3 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.3945, allocations: 16.03 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.3946, allocations: 12.84 kB / 1.289 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.3949, allocations: 158.3 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3949, allocations: 12.38 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.395, allocations: 12.38 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3952, allocations: 88.8 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3952, allocations: 4.125 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3952, allocations: 11.94 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3952, allocations: 4 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3954, allocations: 39.97 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.3958, allocations: 226.4 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.396, allocations: 103.8 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3962, allocations: 62.67 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3962, allocations: 7.938 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.3967, allocations: 136.3 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.3967, allocations: 4 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006539/0.3973, allocations: 222 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.3975, allocations: 110.8 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3977, allocations: 144.3 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.3977, allocations: 41.64 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.3978, allocations: 92.64 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.3979, allocations: 63.56 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3981, allocations: 57.7 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.3983, allocations: 334.8 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3984, allocations: 48.27 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.3987, allocations: 176.5 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.3991, allocations: 134.5 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3991, allocations: 0 / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004942/0.3996, allocations: 201.4 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3996, allocations: 4 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.3996, allocations: 4.234 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.3996, allocations: 7.984 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3998, allocations: 15.94 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.3998, allocations: 7.984 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.4001, allocations: 52.92 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.4001, allocations: 8 kB / 1.291 GB, free: 4.352 MB / 0.9825 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.0001982/0.4003, allocations: 140.4 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4004, allocations: 15.89 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.4004, allocations: 8.719 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.4004, allocations: 4 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4004, allocations: 0 / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4004, allocations: 3.984 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4007, allocations: 180.5 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4007, allocations: 4 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.4008, allocations: 12.12 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4008, allocations: 3.938 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.4008, allocations: 11.98 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4008, allocations: 0 / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4008, allocations: 4 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.4013, allocations: 218.6 kB / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.4013, allocations: 11.89 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.4013, allocations: 8 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.4014, allocations: 7.938 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.4015, allocations: 7.984 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4015, allocations: 11.98 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001252/0.4016, allocations: 109 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4016, allocations: 0 / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006219/0.4022, allocations: 103.8 kB / 1.292 GB, free: 3.422 MB / 0.9825 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.0004753/0.4027, allocations: 202.9 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.4032, allocations: 205 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4032, allocations: 4 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.4033, allocations: 55.84 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.4036, allocations: 8.109 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.4043, allocations: 278.3 kB / 1.293 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4048, allocations: 0.7045 MB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.4048, allocations: 19.42 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.4048, allocations: 3.938 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.006446/0.4113, allocations: 3.125 MB / 1.296 GB, free: 14.77 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.505513415002497]