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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.059/3.059, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392/1.394, allocations: 168.7 MB / 1.272 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003211/1.397, allocations: 1.52 MB / 1.273 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001359/1.398, allocations: 0.696 MB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/1.398, allocations: 0.875 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.679e-05/1.398, allocations: 12.14 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/1.398, allocations: 13.75 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/1.399, allocations: 344.1 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/1.4, allocations: 175.6 kB / 1.275 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/1.4, allocations: 2.938 kB / 1.275 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/1.4, allocations: 61.48 kB / 1.275 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/1.4, allocations: 58.02 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/1.4, allocations: 11.62 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/1.4, allocations: 255.9 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.953e-05/1.401, allocations: 38.14 kB / 1.275 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.549e-05/1.401, allocations: 63.22 kB / 1.275 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004941/1.401, allocations: 299.8 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.401, allocations: 0.8438 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.401, allocations: 0 / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.401, allocations: 8.906 kB / 1.275 GB, free: 6.055 MB / 0.9981 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.000672/1.402, allocations: 476.8 kB / 1.276 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.402, allocations: 9.875 kB / 1.276 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/1.402, allocations: 12.95 kB / 1.276 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/1.402, allocations: 213.5 kB / 1.276 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.402, allocations: 4.906 kB / 1.276 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/1.402, allocations: 12.06 kB / 1.276 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/1.402, allocations: 98.98 kB / 1.276 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.402, allocations: 0.8906 kB / 1.276 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.402, allocations: 4.906 kB / 1.276 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.402, allocations: 1.844 kB / 1.276 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/1.403, allocations: 49.44 kB / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/1.403, allocations: 262.8 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/1.403, allocations: 100.4 kB / 1.277 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/1.403, allocations: 67.33 kB / 1.277 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/1.403, allocations: 7.281 kB / 1.277 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/1.403, allocations: 140.7 kB / 1.277 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/1.403, allocations: 0 / 1.277 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0004721/1.404, allocations: 213.1 kB / 1.277 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/1.404, allocations: 115.7 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.404, allocations: 143.1 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/1.404, allocations: 35.08 kB / 1.277 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/1.404, allocations: 94.16 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/1.404, allocations: 65.17 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/1.404, allocations: 58.97 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/1.404, allocations: 327.7 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/1.404, allocations: 56.31 kB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.405, allocations: 189.5 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/1.405, allocations: 125.8 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.405, allocations: 4 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003374/1.405, allocations: 202.5 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.405, allocations: 5.438 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.405, allocations: 7.562 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.405, allocations: 1.844 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/1.405, allocations: 17.09 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.405, allocations: 1.719 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/1.406, allocations: 46.66 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/1.406, allocations: 6 kB / 1.278 GB, free: 3.598 MB / 0.9981 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.0001181/1.406, allocations: 144.3 kB / 1.279 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/1.406, allocations: 17.55 kB / 1.279 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/1.406, allocations: 16.77 kB / 1.279 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.406, allocations: 3.875 kB / 1.279 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.406, allocations: 0.9375 kB / 1.279 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.406, allocations: 0.875 kB / 1.279 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/1.406, allocations: 208.8 kB / 1.279 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.406, allocations: 0.9062 kB / 1.279 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/1.406, allocations: 21.2 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.406, allocations: 3.047 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.406, allocations: 1.906 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/1.406, allocations: 5.469 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.406, allocations: 0.9375 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/1.406, allocations: 207.1 kB / 1.279 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/1.406, allocations: 97.8 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/1.406, allocations: 5.844 kB / 1.279 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/1.406, allocations: 12.45 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/1.407, allocations: 12.94 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.407, allocations: 8.844 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.229e-05/1.407, allocations: 106 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.407, allocations: 1 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000466/1.407, allocations: 98.7 kB / 1.279 GB, free: 2.855 MB / 0.9981 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.0003965/1.407, allocations: 205.8 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003897/1.408, allocations: 211.8 kB / 1.28 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.408, allocations: 0.7188 kB / 1.28 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.408, allocations: 50.75 kB / 1.28 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/1.408, allocations: 8.094 kB / 1.28 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/1.409, allocations: 260.5 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/1.409, allocations: 0.715 MB / 1.281 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.634e-05/1.409, allocations: 10.03 kB / 1.281 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/1.409, allocations: 20.11 kB / 1.281 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/1.409, allocations: 0 / 1.281 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of Templates: time 0.008268/1.417, allocations: 3.143 MB / 1.284 GB, free: 1.359 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/jenkins/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: 10.623965577222407]