Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.715/1.715, allocations: 287.4 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001213, allocations: 176.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007806/0.0007808, allocations: 92.98 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005195, allocations: 13.44 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2716, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0009849/0.2727, allocations: 349.7 kB / 0.9796 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.2731, allocations: 183.6 kB / 0.9798 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.2732, allocations: 7.938 kB / 0.9798 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2734, allocations: 0 / 0.9798 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.2734, allocations: 3.938 kB / 0.9798 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.2737, allocations: 31.97 kB / 0.9798 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2738, allocations: 47.91 kB / 0.9799 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.274, allocations: 15.97 kB / 0.9799 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.274, allocations: 19.94 kB / 0.9799 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.2741, allocations: 23.91 kB / 0.9799 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.2741, allocations: 0 / 0.9799 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.2741, allocations: 4 kB / 0.9799 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.2742, allocations: 23.84 kB / 0.98 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.2742, allocations: 37.64 kB / 0.98 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.2743, allocations: 39.91 kB / 0.98 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2743, allocations: 0 / 0.98 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2743, allocations: 0 / 0.98 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2743, allocations: 3.938 kB / 0.98 GB, free: 27.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005084/0.2748, allocations: 401.2 kB / 0.9804 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2749, allocations: 8.031 kB / 0.9804 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.2749, allocations: 8.844 kB / 0.9804 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2751, allocations: 172.4 kB / 0.9806 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2751, allocations: 8.359 kB / 0.9806 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2751, allocations: 8.375 kB / 0.9806 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2753, allocations: 74.22 kB / 0.9807 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2753, allocations: 4.188 kB / 0.9807 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2753, allocations: 7.938 kB / 0.9807 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2753, allocations: 0 / 0.9807 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.2754, allocations: 51.84 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.2759, allocations: 348.6 kB / 0.9811 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.276, allocations: 110.5 kB / 0.9812 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.2761, allocations: 64.8 kB / 0.9813 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2762, allocations: 8 kB / 0.9813 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.2763, allocations: 83.38 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2763, allocations: 0 / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002544/0.2766, allocations: 157.5 kB / 0.9815 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2766, allocations: 51.41 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.2767, allocations: 133.7 kB / 0.9817 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2767, allocations: 29.7 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.2768, allocations: 88.14 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.2768, allocations: 20.25 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.2768, allocations: 4 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.2769, allocations: 318.8 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.2769, allocations: 35.92 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.277, allocations: 62.48 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.2771, allocations: 98.59 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2771, allocations: 3.938 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.2772, allocations: 125.5 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2773, allocations: 4 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2773, allocations: 3.984 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2773, allocations: 11.92 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.2774, allocations: 4 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2774, allocations: 0 / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.2774, allocations: 15.84 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.2775, allocations: 23.95 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/0.2776, allocations: 135 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.2776, allocations: 4 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2776, allocations: 16.38 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2776, allocations: 4 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2776, allocations: 3.984 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.2777, allocations: 81.02 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2777, allocations: 4 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.2777, allocations: 0 / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2778, allocations: 19.92 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001551/0.2779, allocations: 200.8 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001576/0.2781, allocations: 294.6 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.441e-05/0.2782, allocations: 39.97 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.2782, allocations: 95.45 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of Backend: time 2.51e-07/0.2782, allocations: 4 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.2786, allocations: 136.1 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000542/0.2791, allocations: 0.6541 MB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.003127/0.2822, allocations: 1.386 MB / 0.9855 GB, free: 21.51 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)