Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001415/0.001415, allocations: 110 kB / 18.93 MB, free: 2.945 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.001569/0.001569, allocations: 189 kB / 22.23 MB, free: 5.16 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.535/1.535, allocations: 225.6 MB / 251 MB, free: 13.01 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 3.062/3.062, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.91 kB / 1.109 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003895/1.165, allocations: 1.492 MB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001936/1.167, allocations: 0.7061 MB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/1.167, allocations: 0 / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/1.167, allocations: 11.92 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/1.167, allocations: 7.875 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/1.169, allocations: 373 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003828/1.169, allocations: 175.6 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/1.17, allocations: 7.984 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/1.17, allocations: 63.91 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/1.17, allocations: 51.75 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/1.17, allocations: 15.94 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/1.17, allocations: 295.7 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/1.17, allocations: 39.91 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/1.171, allocations: 63.7 kB / 1.278 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/1.171, allocations: 301.5 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/1.171, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/1.171, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.171, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 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.000873/1.172, allocations: 405.4 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.172, allocations: 8.031 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/1.172, allocations: 16.88 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/1.173, allocations: 154.3 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/1.173, allocations: 8.375 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/1.173, allocations: 16.34 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.173, allocations: 99.09 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.173, allocations: 4.125 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.173, allocations: 7.875 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/1.173, allocations: 4 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/1.173, allocations: 43.97 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/1.174, allocations: 222.4 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/1.174, allocations: 103.9 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/1.174, allocations: 74.59 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/1.174, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/1.175, allocations: 132.3 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/1.175, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0005424/1.175, allocations: 214.2 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.175, allocations: 122.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/1.175, allocations: 137.8 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/1.175, allocations: 37.7 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/1.176, allocations: 100.6 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/1.176, allocations: 67.45 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.176, allocations: 57.69 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002942/1.176, allocations: 326.8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/1.176, allocations: 56.25 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/1.177, allocations: 172.5 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/1.177, allocations: 130.6 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.177, allocations: 7.938 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004472/1.177, allocations: 201.4 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.177, allocations: 4 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.178, allocations: 4 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.178, allocations: 0 / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/1.178, allocations: 15.94 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.178, allocations: 240 / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.178, allocations: 51.83 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/1.178, allocations: 11.98 kB / 1.281 GB, free: 13.39 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.0002144/1.178, allocations: 144.5 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/1.178, allocations: 15.84 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/1.178, allocations: 20.7 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.178, allocations: 4 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.178, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.178, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/1.179, allocations: 180.6 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.179, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/1.179, allocations: 23.94 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.179, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/1.179, allocations: 8 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.179, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.179, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/1.179, allocations: 214.6 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/1.179, allocations: 19.84 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/1.179, allocations: 0 / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/1.179, allocations: 15.92 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/1.179, allocations: 7.984 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/1.179, allocations: 4 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001231/1.179, allocations: 105 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.179, allocations: 0 / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006536/1.18, allocations: 103.8 kB / 1.282 GB, free: 12.46 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.0005106/1.181, allocations: 210.9 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005255/1.181, allocations: 209 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.181, allocations: 3.938 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/1.181, allocations: 47.92 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/1.182, allocations: 6.406 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/1.182, allocations: 248.5 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/1.183, allocations: 0.7239 MB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.967e-05/1.183, allocations: 13.2 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/1.183, allocations: 11.44 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/1.183, allocations: 0 / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Templates: time 0.01048/1.193, allocations: 3.181 MB / 1.286 GB, free: 7.773 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.272887030616403]