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.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.0009356/0.0009356, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009912/0.0009912, allocations: 165 kB / 23.02 MB, free: 1.543 MB / 18.57 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 0.9643/0.9643, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.167/2.167, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.004e-06/2.004e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.831e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003057/0.003085, allocations: 1.47 MB / 0.8796 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004113, allocations: 490.9 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.004157, allocations: 0 / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.004249, allocations: 7.938 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.00433, allocations: 12.39 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.005265, allocations: 240.1 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.005523, allocations: 152.8 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.005571, allocations: 0 / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.005704, allocations: 84.52 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.005806, allocations: 29.12 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.005844, allocations: 12 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.00619, allocations: 191.6 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.006269, allocations: 36.94 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.006349, allocations: 43.91 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.006869, allocations: 247.3 kB / 0.881 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006872, allocations: 1.031 kB / 0.881 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.02e-07/0.006872, allocations: 0 / 0.881 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.006878, allocations: 5.125 kB / 0.8811 GB, free: 3.359 MB / 0.8386 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.0006533/0.007531, allocations: 475.9 kB / 0.8815 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.007583, allocations: 8.031 kB / 0.8815 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.007667, allocations: 13.92 kB / 0.8815 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.007899, allocations: 157 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.007921, allocations: 13.47 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.007953, allocations: 8.375 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.008113, allocations: 73.55 kB / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.008127, allocations: 0.9062 kB / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.008143, allocations: 4.375 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.008153, allocations: 3.75 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.789e-05/0.00822, allocations: 23.86 kB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.008461, allocations: 168.3 kB / 0.882 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.008577, allocations: 74.09 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.008651, allocations: 43.52 kB / 0.8821 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.008662, allocations: 0 / 0.8821 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.008833, allocations: 120.3 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.008834, allocations: 0 / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003297/0.009164, allocations: 118.7 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.009221, allocations: 81.11 kB / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.009378, allocations: 207.5 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.00941, allocations: 35.27 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.009496, allocations: 147.2 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.009561, allocations: 43.67 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/0.009651, allocations: 55.36 kB / 0.8828 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.009823, allocations: 0.505 MB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.00988, allocations: 12 kB / 0.8833 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.01021, allocations: 0.5932 MB / 0.8839 GB, free: 4 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.01036, allocations: 72.67 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01036, allocations: 0 / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000223/0.01059, allocations: 125.5 kB / 0.8841 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.0106, allocations: 6.5 kB / 0.8841 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.01063, allocations: 8 kB / 0.8841 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.01065, allocations: 3.938 kB / 0.8841 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01077, allocations: 27.92 kB / 0.8842 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.01078, allocations: 0.625 kB / 0.8842 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.01096, allocations: 47.84 kB / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.01097, allocations: 4 kB / 0.8842 GB, free: 15.7 MB / 0.8542 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.0003123/0.01128, allocations: 176.6 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.01131, allocations: 11.94 kB / 0.8844 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01135, allocations: 12.78 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01135, allocations: 3.938 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01136, allocations: 3.938 kB / 0.8844 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.01136, allocations: 4 kB / 0.8844 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.0115, allocations: 144.5 kB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.0115, allocations: 4 kB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.01154, allocations: 4 kB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01154, allocations: 0 / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01155, allocations: 8 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01156, allocations: 3.984 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01156, allocations: 3.938 kB / 0.8846 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.01177, allocations: 154.7 kB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.01179, allocations: 19.78 kB / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01181, allocations: 0 / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.01186, allocations: 8 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.01191, allocations: 11.92 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.01192, allocations: 0 / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.012, allocations: 153 kB / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/0.012, allocations: 7.938 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003354/0.01234, allocations: 67.88 kB / 0.885 GB, free: 14.84 MB / 0.8542 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.0003743/0.01271, allocations: 175.2 kB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.01298, allocations: 135 kB / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01298, allocations: 0 / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.01303, allocations: 35.61 kB / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.01317, allocations: 8 kB / 0.8853 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.01356, allocations: 210.5 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.01361, allocations: 71.34 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.01365, allocations: 8.719 kB / 0.8856 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.01368, allocations: 12.5 kB / 0.8856 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of SimCode: time 1.794e-06/0.01368, allocations: 0 / 0.8856 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.005717/0.0194, allocations: 2.72 MB / 0.8883 GB, free: 11.46 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.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: 5.782125452999026]