Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.0009496/0.0009496, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002235, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008012/0.0008012, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009893/0.00179, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9643/0.9643, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09459/1.059, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.387/2.387, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2788/2.666, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.728e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00206/0.002087, allocations: 1.504 MB / 0.8197 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005537/0.002641, allocations: 497.9 kB / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.002672, allocations: 0 / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.037e-05/0.002732, allocations: 7.938 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.002779, allocations: 11.86 kB / 0.8202 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.003269, allocations: 222.2 kB / 0.8204 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003422, allocations: 147.8 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.003467, allocations: 19.88 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003573, allocations: 95.86 kB / 0.8207 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.003629, allocations: 27.91 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.003649, allocations: 8 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.003916, allocations: 207.6 kB / 0.8209 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.003961, allocations: 23.94 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.004009, allocations: 27.94 kB / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.004282, allocations: 203.6 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.004298, allocations: 0 / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004299, allocations: 0 / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.004316, allocations: 4 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005203/0.004837, allocations: 387.8 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.004879, allocations: 8.625 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.004924, allocations: 12.92 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.005106, allocations: 141.6 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00512, allocations: 4.375 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.005142, allocations: 16.38 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.005237, allocations: 62.72 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005244, allocations: 192 / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.005251, allocations: 4.375 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005255, allocations: 4.375 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.00529, allocations: 21.58 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.005395, allocations: 95.52 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.005452, allocations: 49.22 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.005479, allocations: 25.8 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.005488, allocations: 4 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.005615, allocations: 103.9 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 8.61e-07/0.005615, allocations: 0 / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001437/0.005759, allocations: 87.2 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.005813, allocations: 93.09 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.005895, allocations: 145.3 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.005923, allocations: 33.7 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.005958, allocations: 96.48 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.006003, allocations: 35.73 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.006054, allocations: 49.67 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.006139, allocations: 334.7 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.006161, allocations: 14.83 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.006395, allocations: 0.551 MB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.006464, allocations: 59.27 kB / 0.8235 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.006467, allocations: 0 / 0.8235 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000107/0.006574, allocations: 103.2 kB / 0.8236 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.006588, allocations: 4 kB / 0.8236 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.006609, allocations: 0 / 0.8236 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006619, allocations: 4 kB / 0.8236 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.006711, allocations: 23.98 kB / 0.8236 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006716, allocations: 7.875 kB / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.006824, allocations: 35.86 kB / 0.8237 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.006833, allocations: 4 kB / 0.8237 GB, free: 12.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.254e-05/0.006916, allocations: 128.7 kB / 0.8238 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.006937, allocations: 7.984 kB / 0.8238 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.006967, allocations: 12.78 kB / 0.8238 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.00697, allocations: 0 / 0.8238 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006972, allocations: 0 / 0.8238 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.006978, allocations: 3.938 kB / 0.8238 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.566e-05/0.007064, allocations: 97.7 kB / 0.8239 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007065, allocations: 0 / 0.8239 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.007094, allocations: 11.98 kB / 0.8239 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.007105, allocations: 11.95 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007107, allocations: 3.938 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.007112, allocations: 0 / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007113, allocations: 0 / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007114, allocations: 4 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.007219, allocations: 106.4 kB / 0.8241 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.007237, allocations: 7.984 kB / 0.8241 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.007257, allocations: 0 / 0.8241 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.007292, allocations: 7.984 kB / 0.8241 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.007299, allocations: 8 kB / 0.8241 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.007324, allocations: 24.83 kB / 0.8241 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007324, allocations: 4 kB / 0.8241 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001967/0.00752, allocations: 75.8 kB / 0.8242 GB, free: 12.42 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001925/0.007713, allocations: 168.1 kB / 0.8243 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.007852, allocations: 112.2 kB / 0.8245 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/0.007867, allocations: 4 kB / 0.8245 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.007896, allocations: 24.84 kB / 0.8245 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.186e-05/0.007978, allocations: 15.92 kB / 0.8245 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.008423, allocations: 218.5 kB / 0.8247 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.00846, allocations: 67.34 kB / 0.8248 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.008499, allocations: 12.98 kB / 0.8248 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.008575, allocations: 75.36 kB / 0.8249 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of SimCode: time 1.142e-06/0.008577, allocations: 0 / 0.8249 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.004653/0.01323, allocations: 3.115 MB / 0.8279 GB, free: 8.598 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138280578888953]