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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 496.2 MB / 0.7819 GB, free: 12.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002034/0.002034, allocations: 67.83 kB / 1.136 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379/1.381, allocations: 173.6 MB / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003389/1.384, allocations: 1.417 MB / 1.307 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001147/1.385, allocations: 0.5099 MB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/1.385, allocations: 1.125 kB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/1.385, allocations: 6.516 kB / 1.307 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/1.385, allocations: 12.45 kB / 1.307 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/1.386, allocations: 232.3 kB / 1.308 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/1.387, allocations: 151.2 kB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/1.387, allocations: 6.969 kB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/1.387, allocations: 54.28 kB / 1.308 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/1.387, allocations: 49.25 kB / 1.308 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/1.387, allocations: 8.75 kB / 1.308 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/1.387, allocations: 172.1 kB / 1.308 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/1.387, allocations: 38.33 kB / 1.308 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.33e-05/1.387, allocations: 48.27 kB / 1.308 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/1.388, allocations: 237.8 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.388, allocations: 0 / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.388, allocations: 0 / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.388, allocations: 5.094 kB / 1.308 GB, free: 14.98 MB / 1.014 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.00079/1.389, allocations: 455.5 kB / 1.309 GB, free: 14.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.389, allocations: 8.906 kB / 1.309 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/1.389, allocations: 13.08 kB / 1.309 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/1.389, allocations: 208.5 kB / 1.309 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.389, allocations: 5.094 kB / 1.309 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/1.389, allocations: 14 kB / 1.309 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/1.389, allocations: 88.25 kB / 1.309 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/1.389, allocations: 4.188 kB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.389, allocations: 5.031 kB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.389, allocations: 1.125 kB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/1.389, allocations: 36.75 kB / 1.309 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/1.39, allocations: 231.8 kB / 1.309 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.39, allocations: 77.77 kB / 1.309 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/1.39, allocations: 55.42 kB / 1.309 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/1.39, allocations: 1.25 kB / 1.309 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/1.39, allocations: 110.6 kB / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/1.39, allocations: 0 / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0004104/1.391, allocations: 193.3 kB / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/1.391, allocations: 91.53 kB / 1.31 GB, free: 13.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/1.391, allocations: 149.2 kB / 1.31 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.391, allocations: 34.84 kB / 1.31 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/1.391, allocations: 101.2 kB / 1.31 GB, free: 13.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/1.391, allocations: 40.16 kB / 1.31 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/1.391, allocations: 48.97 kB / 1.31 GB, free: 13.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.392, allocations: 326.8 kB / 1.31 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/1.392, allocations: 38.83 kB / 1.31 GB, free: 13.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/1.392, allocations: 199.8 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/1.392, allocations: 101.6 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/1.392, allocations: 0 / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002589/1.392, allocations: 159.7 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.392, allocations: 8.391 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.392, allocations: 4.062 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.392, allocations: 1.375 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/1.392, allocations: 11.42 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.392, allocations: 5.031 kB / 1.311 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/1.393, allocations: 78.73 kB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/1.393, allocations: 5.188 kB / 1.311 GB, free: 12.71 MB / 1.014 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.0001564/1.393, allocations: 141.8 kB / 1.311 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/1.393, allocations: 16.7 kB / 1.311 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/1.393, allocations: 14.38 kB / 1.311 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.393, allocations: 1.562 kB / 1.311 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.393, allocations: 0 / 1.311 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.393, allocations: 1.703 kB / 1.311 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/1.393, allocations: 201.1 kB / 1.311 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.393, allocations: 5.062 kB / 1.311 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/1.393, allocations: 6.516 kB / 1.311 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.393, allocations: 2.172 kB / 1.311 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.393, allocations: 1.578 kB / 1.311 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.393, allocations: 5.344 kB / 1.311 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.393, allocations: 1.5 kB / 1.311 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/1.394, allocations: 175.4 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/1.394, allocations: 97.62 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/1.394, allocations: 2.812 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/1.394, allocations: 2.609 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/1.394, allocations: 10.8 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/1.394, allocations: 6.406 kB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.669e-05/1.394, allocations: 111.6 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.394, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004019/1.394, allocations: 75.7 kB / 1.312 GB, free: 12 MB / 1.014 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.0003194/1.395, allocations: 169.2 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003047/1.395, allocations: 158.1 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.395, allocations: 0 / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/1.395, allocations: 44.94 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.395, allocations: 13.52 kB / 1.312 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/1.396, allocations: 230.8 kB / 1.312 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/1.396, allocations: 0.7022 MB / 1.313 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.858e-05/1.396, allocations: 8.016 kB / 1.313 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/1.396, allocations: 17.61 kB / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.163e-06/1.396, allocations: 0 / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of Templates: time 0.007654/1.404, allocations: 2.555 MB / 1.316 GB, free: 9.953 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.798551606014371]