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.00181/0.00181, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.003068/0.003068, allocations: 159.8 kB / 23.01 MB, free: 4.598 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.573/1.573, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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 2.964/2.964, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002129/0.002129, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002341/1.048, allocations: 1.417 MB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/1.049, allocations: 464 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/1.049, allocations: 2.781 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/1.049, allocations: 11.25 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/1.049, allocations: 6.719 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/1.05, allocations: 238.9 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/1.05, allocations: 148.2 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/1.05, allocations: 9.766 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/1.05, allocations: 54.94 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/1.05, allocations: 39.38 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/1.05, allocations: 11 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/1.05, allocations: 192.4 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/1.051, allocations: 37.78 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/1.051, allocations: 47.52 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/1.051, allocations: 235.4 kB / 1.157 GB, free: 31.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.051, allocations: 0 / 1.157 GB, free: 31.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.113e-06/1.051, allocations: 0 / 1.157 GB, free: 31.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.051, allocations: 0 / 1.157 GB, free: 31.68 MB / 1.076 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.0005824/1.052, allocations: 376 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.052, allocations: 7.844 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/1.052, allocations: 17.62 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/1.052, allocations: 145.6 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.052, allocations: 5.625 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/1.052, allocations: 12.91 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.052, allocations: 86.89 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.052, allocations: 192 / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.052, allocations: 3.938 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.052, allocations: 2.531 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/1.052, allocations: 35.83 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/1.052, allocations: 172.9 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.053, allocations: 76.89 kB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/1.053, allocations: 56.38 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/1.053, allocations: 0 / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/1.053, allocations: 112.2 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/1.053, allocations: 3.938 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0003524/1.053, allocations: 187.7 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.053, allocations: 83.2 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.053, allocations: 150.2 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.053, allocations: 36.45 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/1.054, allocations: 108.2 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/1.054, allocations: 40.55 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/1.054, allocations: 50.17 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.971e-05/1.054, allocations: 320.8 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/1.054, allocations: 41.7 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/1.054, allocations: 0.6051 MB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.054, allocations: 99.42 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.054, allocations: 0 / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001886/1.054, allocations: 160.5 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.054, allocations: 13.81 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.054, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.054, allocations: 2.719 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/1.054, allocations: 9.219 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.054, allocations: 2.812 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/1.055, allocations: 76.58 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.055, allocations: 6.906 kB / 1.16 GB, free: 29.14 MB / 1.076 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 8.981e-05/1.055, allocations: 135.7 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/1.055, allocations: 13.8 kB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/1.055, allocations: 15.06 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.055, allocations: 0 / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.055, allocations: 2.875 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.055, allocations: 0 / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.668e-05/1.055, allocations: 134 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.055, allocations: 0 / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/1.055, allocations: 13.25 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.055, allocations: 2.906 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.055, allocations: 3.938 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.055, allocations: 2.531 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.055, allocations: 0 / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/1.055, allocations: 185.8 kB / 1.16 GB, free: 28.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/1.055, allocations: 10.73 kB / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/1.055, allocations: 6.875 kB / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/1.055, allocations: 4 kB / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.055, allocations: 10.33 kB / 1.16 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/1.055, allocations: 10.81 kB / 1.16 GB, free: 28.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.024e-05/1.055, allocations: 117 kB / 1.16 GB, free: 28.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/1.055, allocations: 0 / 1.16 GB, free: 28.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003363/1.056, allocations: 83.05 kB / 1.16 GB, free: 28.61 MB / 1.076 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.0002734/1.056, allocations: 163 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002757/1.056, allocations: 152 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.056, allocations: 0 / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/1.056, allocations: 43.41 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/1.057, allocations: 12.64 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/1.057, allocations: 229.4 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/1.057, allocations: 97.05 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.449e-05/1.057, allocations: 6.672 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/1.057, allocations: 14.61 kB / 1.161 GB, free: 28.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/1.057, allocations: 0 / 1.161 GB, free: 28.13 MB / 1.076 GB Notification: Performance of Templates: time 0.006154/1.063, allocations: 2.702 MB / 1.164 GB, free: 27.79 MB / 1.076 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 -s ida -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.672080731019378]