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.000768/0.000768, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001793, allocations: 449.7 kB / 10.37 MB, free: 328 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.001146/0.001146, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009494/0.002095, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.792/1.792, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5559/2.348, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.482e-05, allocations: 2.859 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001735/0.00175, allocations: 1.519 MB / 0.7308 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004927/0.002243, allocations: 492.3 kB / 0.7312 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.002272, allocations: 0.6562 kB / 0.7312 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.374e-05/0.002325, allocations: 7.922 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.002371, allocations: 11.33 kB / 0.7313 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.002796, allocations: 224.4 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.002959, allocations: 142.3 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.002999, allocations: 15.92 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.003094, allocations: 79.33 kB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.003149, allocations: 41.8 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.003172, allocations: 8 kB / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.003413, allocations: 199.7 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.003454, allocations: 24.45 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.003497, allocations: 27.94 kB / 0.732 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.00371, allocations: 209.2 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.003723, allocations: 0 / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003723, allocations: 0 / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.003735, allocations: 0 / 0.7322 GB, free: 1.633 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.0004041/0.004139, allocations: 380.6 kB / 0.7325 GB, free: 1.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.004171, allocations: 12.03 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.004204, allocations: 13.83 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004335, allocations: 147.4 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004346, allocations: 10.12 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.004365, allocations: 16.36 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.004445, allocations: 62.77 kB / 0.7328 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004451, allocations: 192 / 0.7328 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004458, allocations: 4.375 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.004462, allocations: 0.875 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.941e-05/0.004491, allocations: 26.61 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.108e-05/0.004582, allocations: 95.48 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.004636, allocations: 49.08 kB / 0.733 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.004665, allocations: 38.66 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.004672, allocations: 5.125 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.947e-05/0.004771, allocations: 83.86 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.004772, allocations: 0.7188 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000131/0.004903, allocations: 99.23 kB / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.004949, allocations: 85.58 kB / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.005022, allocations: 142.6 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.005043, allocations: 38.62 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.005069, allocations: 84.52 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.005111, allocations: 48.25 kB / 0.7336 GB, free: 52 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.005156, allocations: 41.69 kB / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.00524, allocations: 331.5 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.005261, allocations: 18.81 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.005445, allocations: 0.5343 MB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/0.005505, allocations: 76.38 kB / 0.7345 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.005507, allocations: 0 / 0.7345 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 8.682e-05/0.005594, allocations: 95.25 kB / 0.7346 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005606, allocations: 11.44 kB / 0.7346 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.005621, allocations: 0.8438 kB / 0.7346 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.005629, allocations: 0 / 0.7346 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.005693, allocations: 25.27 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.005698, allocations: 3.938 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.005793, allocations: 36.64 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.005799, allocations: 1.531 kB / 0.7347 GB, free: 14.71 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 7.223e-05/0.005872, allocations: 141.3 kB / 0.7348 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-06/0.00588, allocations: 4.875 kB / 0.7348 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.005903, allocations: 16.77 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005905, allocations: 96 / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005906, allocations: 1.25 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.005912, allocations: 7.922 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.564e-05/0.005977, allocations: 93.75 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005978, allocations: 1.156 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.005995, allocations: 8 kB / 0.735 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-06/0.006003, allocations: 7.953 kB / 0.735 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006005, allocations: 1.25 kB / 0.735 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.00601, allocations: 4 kB / 0.735 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.006013, allocations: 3.984 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.006015, allocations: 5.031 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.006101, allocations: 106.3 kB / 0.7351 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.006116, allocations: 8 kB / 0.7351 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.006134, allocations: 0.5312 kB / 0.7351 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.006161, allocations: 9.578 kB / 0.7351 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.006164, allocations: 0 / 0.7351 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.387e-05/0.006188, allocations: 34.86 kB / 0.7351 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006188, allocations: 0 / 0.7351 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001556/0.006343, allocations: 75.8 kB / 0.7352 GB, free: 14.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.0001634/0.006507, allocations: 174.2 kB / 0.7354 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.006632, allocations: 122 kB / 0.7355 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.006638, allocations: 4 kB / 0.7355 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.006664, allocations: 25.53 kB / 0.7355 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.169e-05/0.006736, allocations: 12.75 kB / 0.7355 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.007173, allocations: 211.4 kB / 0.7357 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.007221, allocations: 71.33 kB / 0.7358 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.007251, allocations: 6.109 kB / 0.7358 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.007335, allocations: 79.34 kB / 0.7359 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.007335, allocations: 0 / 0.7359 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.004564/0.0119, allocations: 3.117 MB / 0.7389 GB, free: 10.46 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.900913515128195]