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.001323/0.001323, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001614/0.001614, allocations: 212.7 kB / 23 MB, free: 4.934 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002113/0.002113, allocations: 68.47 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4214, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002976/0.4244, allocations: 1.422 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.4253, allocations: 454.4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.4254, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.806e-05/0.4254, allocations: 7.938 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.4255, allocations: 7.922 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.4263, allocations: 258.3 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.4266, allocations: 147.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.4266, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.4267, allocations: 63.89 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.4268, allocations: 39.83 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.4268, allocations: 12 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.4272, allocations: 195.8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.4273, allocations: 31.91 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.4274, allocations: 47.83 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.4277, allocations: 243.2 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4277, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4277, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.4277, allocations: 0 / 1.33 GB, free: 14.08 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.0006551/0.4284, allocations: 369.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4284, allocations: 11.97 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.4285, allocations: 16.84 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4288, allocations: 156 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4288, allocations: 8.375 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.4288, allocations: 12.38 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.429, allocations: 83.95 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.429, allocations: 192 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.429, allocations: 3.938 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.429, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.4291, allocations: 43.91 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.4294, allocations: 154.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4295, allocations: 73.14 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.4296, allocations: 49.84 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.4296, allocations: 7.938 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4298, allocations: 109.1 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4298, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0004159/0.4302, allocations: 197.4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.4303, allocations: 81.11 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.4305, allocations: 151.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.4305, allocations: 33.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.4306, allocations: 104.4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.4307, allocations: 47.67 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.4307, allocations: 45.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4309, allocations: 322.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.431, allocations: 47.92 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.4315, allocations: 0.6095 MB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4317, allocations: 97.58 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4317, allocations: 3.938 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002593/0.4319, allocations: 149.6 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4319, allocations: 11.88 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.432, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.432, allocations: 3.984 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.4321, allocations: 15.94 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4321, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.4324, allocations: 75.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.4324, allocations: 8 kB / 1.333 GB, free: 10.66 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.0001443/0.4325, allocations: 135.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.4326, allocations: 15.89 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.4326, allocations: 12.72 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4326, allocations: 7.984 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4326, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.4326, allocations: 11.95 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.4327, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.4327, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.4327, allocations: 7.922 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003228/0.4331, allocations: 308.1 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003511/0.4334, allocations: 409.5 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.434e-05/0.4335, allocations: 31.98 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.75e-05/0.4336, allocations: 120.6 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of Backend: time 2.51e-07/0.4336, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.4343, allocations: 267.3 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008264/0.4352, allocations: 0.6394 MB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of Templates: time 0.007189/0.4424, allocations: 2.913 MB / 1.338 GB, free: 5.734 MB / 1.029 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=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/jenkins1/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: 9.496595508004248]