Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001022/0.001022, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009958/0.0009958, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.9728/0.9728, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.016/2.016, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.7751 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.739e-05/4.035e-05, allocations: 7.453 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.005014/0.005054, allocations: 1.501 MB / 0.7766 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.006769, allocations: 487.2 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.006835, allocations: 1.531 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.00695, allocations: 3.938 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.007178, allocations: 19.95 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.008063, allocations: 227.3 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.008293, allocations: 146.3 kB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.008344, allocations: 4 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.00845, allocations: 83.86 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.00852, allocations: 34.66 kB / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.008544, allocations: 8 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.008874, allocations: 211.6 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.00893, allocations: 31.92 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.008989, allocations: 43.89 kB / 0.7779 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.009283, allocations: 246.9 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.009289, allocations: 0 / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/0.009291, allocations: 0 / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.009298, allocations: 0 / 0.7781 GB, free: 2.422 MB / 0.7292 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.0004436/0.009741, allocations: 352.1 kB / 0.7784 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.009786, allocations: 9.344 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.009826, allocations: 16.92 kB / 0.7785 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.009993, allocations: 148.1 kB / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.01, allocations: 8.359 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.01002, allocations: 13.5 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.01012, allocations: 62.77 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.01013, allocations: 4.125 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.01014, allocations: 1.438 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01014, allocations: 384 / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.01018, allocations: 29.56 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.0103, allocations: 92 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.01036, allocations: 66.08 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.01039, allocations: 22.91 kB / 0.7789 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.0104, allocations: 0 / 0.7789 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.01052, allocations: 92 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 7.42e-07/0.01052, allocations: 0.75 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001488/0.01067, allocations: 87.25 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.01072, allocations: 98.31 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.01081, allocations: 138.6 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01083, allocations: 33.7 kB / 0.7793 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.01087, allocations: 96.48 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.01092, allocations: 41.27 kB / 0.7794 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.01097, allocations: 49.69 kB / 0.7795 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.01107, allocations: 330.7 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.01109, allocations: 14.81 kB / 0.7798 GB, free: 480 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.0114, allocations: 0.5366 MB / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.01147, allocations: 67.27 kB / 0.7804 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01147, allocations: 1.312 kB / 0.7804 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001037/0.01158, allocations: 95.19 kB / 0.7805 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01159, allocations: 7.984 kB / 0.7805 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.01161, allocations: 5.406 kB / 0.7805 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01162, allocations: 0 / 0.7805 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.0117, allocations: 16 kB / 0.7805 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01171, allocations: 3.938 kB / 0.7805 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01182, allocations: 41.8 kB / 0.7806 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.01183, allocations: 8 kB / 0.7806 GB, free: 15.53 MB / 0.7448 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.471e-05/0.01191, allocations: 129.2 kB / 0.7807 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.01193, allocations: 8.516 kB / 0.7807 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.01196, allocations: 13.47 kB / 0.7807 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01196, allocations: 0 / 0.7807 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01196, allocations: 1.781 kB / 0.7807 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.01197, allocations: 11.92 kB / 0.7807 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.46e-05/0.01204, allocations: 89.8 kB / 0.7808 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01204, allocations: 0 / 0.7808 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.01206, allocations: 12 kB / 0.7808 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01207, allocations: 1.5 kB / 0.7808 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.01207, allocations: 0 / 0.7808 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01207, allocations: 0 / 0.7808 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01207, allocations: 4 kB / 0.7808 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.767e-05/0.01217, allocations: 114.3 kB / 0.781 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01218, allocations: 19.88 kB / 0.781 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.0122, allocations: 8 kB / 0.781 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.01222, allocations: 1.094 kB / 0.781 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.01225, allocations: 7.984 kB / 0.781 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01225, allocations: 4 kB / 0.781 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.01228, allocations: 32.11 kB / 0.781 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01228, allocations: 0 / 0.781 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000196/0.01248, allocations: 75.8 kB / 0.7811 GB, free: 14.96 MB / 0.7448 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.000204/0.01268, allocations: 157.3 kB / 0.7812 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.01284, allocations: 117.5 kB / 0.7814 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.01284, allocations: 0 / 0.7814 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.01287, allocations: 28.78 kB / 0.7814 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.841e-05/0.01295, allocations: 12.97 kB / 0.7814 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.01325, allocations: 211.9 kB / 0.7816 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.01329, allocations: 67.34 kB / 0.7817 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.01333, allocations: 8.719 kB / 0.7817 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.01341, allocations: 75.36 kB / 0.7817 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.01341, allocations: 1.5 kB / 0.7817 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.004564/0.01798, allocations: 2.871 MB / 0.7846 GB, free: 11.54 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3053657142445445]