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.001034/0.001034, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009764/0.0009764, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.966/0.966, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.095/2.095, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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 1.643e-06/1.643e-06, allocations: 0 / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.121e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002016/0.002047, allocations: 1.474 MB / 0.8796 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.002698, allocations: 482.5 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.00274, allocations: 0 / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.509e-05/0.002825, allocations: 11.92 kB / 0.88 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.002891, allocations: 13.67 kB / 0.8801 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.003546, allocations: 239.3 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.003851, allocations: 150.5 kB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.003897, allocations: 0 / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.003996, allocations: 87.86 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.004072, allocations: 27.95 kB / 0.8805 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.004099, allocations: 12 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.004331, allocations: 187.6 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.004398, allocations: 36.62 kB / 0.8808 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.004463, allocations: 43.91 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.004741, allocations: 249 kB / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004744, allocations: 0 / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.004745, allocations: 0 / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.004752, allocations: 0 / 0.881 GB, free: 3.715 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.0004982/0.00525, allocations: 485.2 kB / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.005293, allocations: 12.03 kB / 0.8815 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.005351, allocations: 12.89 kB / 0.8815 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.005535, allocations: 157.2 kB / 0.8817 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.005548, allocations: 8.375 kB / 0.8817 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.005569, allocations: 16.38 kB / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.00569, allocations: 69.55 kB / 0.8818 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.005697, allocations: 4.172 kB / 0.8818 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.005707, allocations: 384 / 0.8818 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.005715, allocations: 384 / 0.8818 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.005759, allocations: 27.86 kB / 0.8818 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.005938, allocations: 176.3 kB / 0.882 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/0.006023, allocations: 70.22 kB / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.006072, allocations: 47.41 kB / 0.8821 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.006079, allocations: 0 / 0.8821 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.006215, allocations: 104.3 kB / 0.8822 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.006216, allocations: 0 / 0.8822 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.00025/0.006466, allocations: 121.5 kB / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.006513, allocations: 89.11 kB / 0.8824 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.006621, allocations: 203.7 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.006643, allocations: 33.7 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.006708, allocations: 155.2 kB / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.006751, allocations: 35.69 kB / 0.8828 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.006813, allocations: 55.36 kB / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.006943, allocations: 0.504 MB / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.006979, allocations: 23.98 kB / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.007226, allocations: 0.5875 MB / 0.8839 GB, free: 344 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.007325, allocations: 71.25 kB / 0.884 GB, free: 264 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.007328, allocations: 0 / 0.884 GB, free: 264 kB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001505/0.007478, allocations: 121.5 kB / 0.8841 GB, free: 136 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.007498, allocations: 8 kB / 0.8841 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.007521, allocations: 0 / 0.8841 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.007537, allocations: 7.938 kB / 0.8841 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.007637, allocations: 19.92 kB / 0.8842 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.007645, allocations: 8 kB / 0.8842 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.007773, allocations: 50.97 kB / 0.8842 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.007785, allocations: 7.984 kB / 0.8842 GB, free: 36 kB / 0.8386 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.000111/0.007896, allocations: 164.6 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.007915, allocations: 15.95 kB / 0.8844 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.007945, allocations: 12.78 kB / 0.8844 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.00795, allocations: 7.938 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.007956, allocations: 3.938 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.007961, allocations: 3.984 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.008068, allocations: 144.7 kB / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.008071, allocations: 0 / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.008099, allocations: 15.97 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.0081, allocations: 0 / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.008109, allocations: 0 / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.008112, allocations: 4 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.008115, allocations: 4.562 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.008265, allocations: 148.1 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.008282, allocations: 23.78 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.0083, allocations: 0 / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.008328, allocations: 7.984 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.00837, allocations: 3.938 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.008377, allocations: 8 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.008432, allocations: 148.9 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008432, allocations: 3.938 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002121/0.008644, allocations: 75.86 kB / 0.885 GB, free: 15.18 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.0002144/0.008858, allocations: 175.1 kB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.009032, allocations: 131 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.009034, allocations: 0 / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.009072, allocations: 39.61 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.009184, allocations: 0 / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.009527, allocations: 218.5 kB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.009568, allocations: 71.33 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.009598, allocations: 4.734 kB / 0.8856 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.00962, allocations: 12.5 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of SimCode: time 1.152e-06/0.009621, allocations: 4 kB / 0.8856 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of Templates: time 0.004636/0.01426, allocations: 2.729 MB / 0.8883 GB, free: 11.79 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.490286328829825]