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.002157/0.002157, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00282/0.00282, allocations: 214.4 kB / 22.25 MB, free: 5.258 MB / 14.72 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.549/3.549, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 64.5 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4714, allocations: 176.1 MB / 1.325 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003438/0.4749, allocations: 1.423 MB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.476, allocations: 462.5 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.4761, allocations: 0 / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.355e-05/0.4762, allocations: 3.938 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.4763, allocations: 11.92 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.4773, allocations: 242.8 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.4776, allocations: 151.7 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.4776, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.4778, allocations: 63.89 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.4779, allocations: 35.83 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.4779, allocations: 12 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.4783, allocations: 183.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.4784, allocations: 43.84 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.4785, allocations: 51.77 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.479, allocations: 235.1 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.479, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.479, allocations: 4 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.479, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 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.0007131/0.4797, allocations: 369.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4797, allocations: 8.031 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.4798, allocations: 16.84 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.4801, allocations: 151.3 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.4801, allocations: 12.38 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.4801, allocations: 16.36 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4803, allocations: 87.88 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4803, allocations: 192 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4804, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4804, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.4805, allocations: 39.92 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.4807, allocations: 162.2 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.4809, allocations: 69.14 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.481, allocations: 53.84 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.481, allocations: 8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.4812, allocations: 105.1 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4812, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0004115/0.4816, allocations: 193.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.4817, allocations: 81.11 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4819, allocations: 151.5 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4819, allocations: 33.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.482, allocations: 104.5 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.4821, allocations: 43.67 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.4822, allocations: 53.64 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4823, allocations: 326.8 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.4824, allocations: 39.98 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.4829, allocations: 0.6063 MB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4831, allocations: 101.5 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4831, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002669/0.4834, allocations: 153.5 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4834, allocations: 7.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.4834, allocations: 4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4834, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.4835, allocations: 15.92 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4835, allocations: 4 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.4838, allocations: 75.8 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4839, allocations: 7.938 kB / 1.331 GB, free: 11.6 MB / 1.029 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 0.0001506/0.484, allocations: 139.1 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.484, allocations: 15.89 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.4841, allocations: 8.719 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4841, allocations: 4 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4841, allocations: 0 / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4841, allocations: 3.984 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.4842, allocations: 133.3 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.4842, allocations: 3.938 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.4843, allocations: 19.97 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4843, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4843, allocations: 7.938 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4843, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4843, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4846, allocations: 180.6 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.4846, allocations: 11.89 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4846, allocations: 7.938 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.4847, allocations: 7.984 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.4847, allocations: 7.938 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4847, allocations: 7.984 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4849, allocations: 112.9 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4849, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003493/0.4852, allocations: 79.86 kB / 1.332 GB, free: 10.8 MB / 1.029 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.0003078/0.4855, allocations: 159.8 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.4858, allocations: 155.3 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4858, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.4859, allocations: 43.97 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.4861, allocations: 7.938 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.4866, allocations: 223.4 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.4867, allocations: 96.94 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.045e-05/0.4867, allocations: 12.66 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.4868, allocations: 11.44 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4868, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Templates: time 0.006589/0.4934, allocations: 2.774 MB / 1.335 GB, free: 7.297 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.12460295110941]