Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001039/0.001039, allocations: 77.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.002727, allocations: 453.8 kB / 10.45 MB, free: 248 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.001005/0.001005, allocations: 161.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002271, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.022/1.022, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.133, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.91/1.91, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6698/2.58, allocations: 123.3 MB / 0.7283 GB, free: 5.699 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.902e-05, allocations: 7.469 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00274/0.002769, allocations: 1.52 MB / 0.7311 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006565/0.003426, allocations: 484 kB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.003474, allocations: 0 / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.298e-05/0.003547, allocations: 7.922 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.003612, allocations: 17.45 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.004263, allocations: 226.2 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.004498, allocations: 143.1 kB / 0.7319 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.004559, allocations: 8.438 kB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.004694, allocations: 84.41 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.004778, allocations: 40.56 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.004806, allocations: 8 kB / 0.7321 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.005131, allocations: 200.3 kB / 0.7323 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.005196, allocations: 23.94 kB / 0.7323 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.005256, allocations: 28.84 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.005555, allocations: 211.4 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.005572, allocations: 0.8125 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.005574, allocations: 0 / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.005588, allocations: 1.406 kB / 0.7325 GB, free: 1.492 MB / 0.698 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.000564/0.006152, allocations: 371.8 kB / 0.7329 GB, free: 1.102 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.006196, allocations: 16.02 kB / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.00625, allocations: 13.45 kB / 0.7329 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.006436, allocations: 147.4 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006451, allocations: 10 kB / 0.7331 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.006476, allocations: 8.375 kB / 0.7331 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.006594, allocations: 66.78 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006604, allocations: 192 / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006613, allocations: 1.969 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.006621, allocations: 4.375 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.006658, allocations: 25.52 kB / 0.7332 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.006795, allocations: 103.5 kB / 0.7333 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.00687, allocations: 49.75 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.006906, allocations: 35.34 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.006914, allocations: 3.938 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.007064, allocations: 87.86 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.395e-06/0.007066, allocations: 5.516 kB / 0.7334 GB, free: 452 kB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0001892/0.007256, allocations: 91.25 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.007314, allocations: 85.05 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.007406, allocations: 146.6 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.007429, allocations: 35.05 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.007492, allocations: 96.48 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.007537, allocations: 35.69 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.007595, allocations: 53.66 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.007716, allocations: 327.4 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.007747, allocations: 11.95 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.007992, allocations: 0.5463 MB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.448e-05/0.008066, allocations: 67.14 kB / 0.7349 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.00807, allocations: 1.344 kB / 0.7349 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001213/0.008192, allocations: 99.25 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.008208, allocations: 4.781 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.008234, allocations: 4 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008248, allocations: 1.25 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.008342, allocations: 19.98 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.008349, allocations: 3.938 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.008464, allocations: 39.41 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.008472, allocations: 4.812 kB / 0.735 GB, free: 14.56 MB / 0.7136 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 9.928e-05/0.008572, allocations: 133.8 kB / 0.7352 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.008587, allocations: 12.89 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.00862, allocations: 12.78 kB / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008623, allocations: 0 / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008626, allocations: 0.9688 kB / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.008632, allocations: 7.938 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.784e-05/0.00873, allocations: 86.98 kB / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008732, allocations: 0 / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.008762, allocations: 8 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.008778, allocations: 15.92 kB / 0.7353 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008781, allocations: 0.9062 kB / 0.7353 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.008789, allocations: 4 kB / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.008791, allocations: 8.656 kB / 0.7353 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.008794, allocations: 0 / 0.7353 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.008924, allocations: 107.7 kB / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.008941, allocations: 0 / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.008971, allocations: 12.73 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.00901, allocations: 0 / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.009018, allocations: 10.02 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.283e-05/0.009051, allocations: 34.84 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009051, allocations: 0 / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002247/0.009275, allocations: 75.81 kB / 0.7356 GB, free: 14 MB / 0.7136 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.0002339/0.009509, allocations: 170.8 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.009681, allocations: 116.4 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.009688, allocations: 0 / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.009726, allocations: 36.27 kB / 0.7359 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.009842, allocations: 15.98 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.01037, allocations: 214.5 kB / 0.7361 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.01041, allocations: 63.34 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.01046, allocations: 17.08 kB / 0.7362 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.01056, allocations: 75.36 kB / 0.7362 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/0.01056, allocations: 0 / 0.7362 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.005615/0.01617, allocations: 3.13 MB / 0.7393 GB, free: 10.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.162562568672001]