Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00183/0.00183, allocations: 111.9 kB / 17.08 MB, free: 6.008 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.001958/0.001958, allocations: 194.2 kB / 20.03 MB, free: 3.078 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.552/1.552, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.924/2.924, allocations: 437.1 MB / 0.7178 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3744, allocations: 151.6 MB / 1.176 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002763/0.3772, allocations: 1.49 MB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3784, allocations: 0.6967 MB / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.3785, allocations: 4 kB / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.47e-05/0.3786, allocations: 7.922 kB / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.3787, allocations: 15.86 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.3797, allocations: 343 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.38, allocations: 163.7 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.38, allocations: 12 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.3801, allocations: 67.88 kB / 1.179 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.3802, allocations: 51.7 kB / 1.179 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.3803, allocations: 12 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.3807, allocations: 247.8 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.3807, allocations: 39.91 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.3809, allocations: 67.69 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.3813, allocations: 307 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3813, allocations: 4 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3813, allocations: 0 / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3814, allocations: 3.938 kB / 1.179 GB, free: 2.41 MB / 0.92 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.0007339/0.3821, allocations: 482.5 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3821, allocations: 8.031 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.3822, allocations: 12.89 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3825, allocations: 214.5 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3825, allocations: 8.375 kB / 1.18 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.3825, allocations: 12.38 kB / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3827, allocations: 104.7 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3827, allocations: 192 / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3828, allocations: 3.938 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3828, allocations: 0 / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3829, allocations: 47.97 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.3832, allocations: 247.4 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3834, allocations: 107.9 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3835, allocations: 74.61 kB / 1.181 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3835, allocations: 7.922 kB / 1.181 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.3838, allocations: 141.8 kB / 1.181 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.3838, allocations: 0 / 1.181 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0004338/0.3842, allocations: 214.2 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.3843, allocations: 110.8 kB / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.3845, allocations: 149.8 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.3845, allocations: 33.7 kB / 1.181 GB, free: 216 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.3846, allocations: 100.7 kB / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.3847, allocations: 55.58 kB / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3848, allocations: 61.69 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.385, allocations: 326.8 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.3851, allocations: 52.25 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.3853, allocations: 188.3 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.3855, allocations: 122.6 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3855, allocations: 0 / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003133/0.3859, allocations: 197.5 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3859, allocations: 14.34 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3859, allocations: 11.92 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.386, allocations: 144 / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3861, allocations: 19.94 kB / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3861, allocations: 4.062 kB / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3863, allocations: 51.83 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3863, allocations: 11.92 kB / 1.182 GB, free: 14.94 MB / 0.9356 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.0001428/0.3865, allocations: 144 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3865, allocations: 15.84 kB / 1.182 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.3866, allocations: 16.7 kB / 1.182 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3866, allocations: 0 / 1.182 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3866, allocations: 0 / 1.182 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.3866, allocations: 4 kB / 1.182 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3868, allocations: 217.4 kB / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3868, allocations: 4 kB / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.3869, allocations: 8 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3869, allocations: 0 / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3869, allocations: 4 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3869, allocations: 4 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3869, allocations: 7.938 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.3872, allocations: 206.6 kB / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.3873, allocations: 92.95 kB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3874, allocations: 8 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.3874, allocations: 15.92 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.3875, allocations: 8 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3875, allocations: 7.984 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.594e-05/0.3876, allocations: 103.3 kB / 1.183 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3876, allocations: 0 / 1.183 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004075/0.388, allocations: 99.8 kB / 1.183 GB, free: 13.89 MB / 0.9356 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.0003593/0.3884, allocations: 207.1 kB / 1.183 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.3888, allocations: 213 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3888, allocations: 4 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3889, allocations: 63.91 kB / 1.184 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.3891, allocations: 14.28 kB / 1.184 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3897, allocations: 278.1 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3901, allocations: 0.7122 MB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.3901, allocations: 23.42 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.3901, allocations: 3.938 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.006011/0.3962, allocations: 3.114 MB / 1.188 GB, free: 9.203 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.343558795982972]