Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.718/1.718, allocations: 287.4 MB / 303.2 MB, free: 8.176 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.001054/0.001053, allocations: 183.4 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.814/1.814, allocations: 205.4 MB / 0.6304 GB, free: 10.47 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.0008738/0.0008738, allocations: 90.36 kB / 0.7438 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 13.19 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00117/0.2695, allocations: 430.4 kB / 0.9797 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2705, allocations: 0.8321 MB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.2706, allocations: 0 / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.2706, allocations: 0 / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.2707, allocations: 7.922 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.2709, allocations: 11.98 kB / 0.9805 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.271, allocations: 35.91 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2711, allocations: 16 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.2712, allocations: 15.92 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.2713, allocations: 23.91 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2713, allocations: 0 / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2713, allocations: 0 / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.2714, allocations: 7.938 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2714, allocations: 29.7 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.979e-05/0.2715, allocations: 31.92 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.2715, allocations: 4 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2715, allocations: 4 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2715, allocations: 0 / 0.9807 GB, free: 26.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005818/0.2721, allocations: 389.5 kB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.2722, allocations: 8.031 kB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.2722, allocations: 4.844 kB / 0.9811 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2723, allocations: 172.3 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2723, allocations: 384 / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2724, allocations: 8.375 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2726, allocations: 74.2 kB / 0.9813 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2726, allocations: 4.188 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2726, allocations: 3.938 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2726, allocations: 0 / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2728, allocations: 51.95 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.2733, allocations: 308.7 kB / 0.9817 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.2736, allocations: 58.55 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.2737, allocations: 29 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2737, allocations: 0 / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.2737, allocations: 34.56 kB / 0.9818 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2737, allocations: 8 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003564/0.2741, allocations: 105.6 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.2741, allocations: 55.41 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.2742, allocations: 125.6 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2742, allocations: 25.7 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.2743, allocations: 88.14 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.2743, allocations: 3.906 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.2743, allocations: 0 / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.2744, allocations: 322.8 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.2745, allocations: 27.98 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.2746, allocations: 27.97 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2747, allocations: 57.05 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2747, allocations: 3.938 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001823/0.2749, allocations: 85.64 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2749, allocations: 8 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.275, allocations: 0 / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.275, allocations: 0 / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.275, allocations: 19.98 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.2751, allocations: 3.984 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2752, allocations: 31.81 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2752, allocations: 0 / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.007e-05/0.2753, allocations: 121.8 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2753, allocations: 0 / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.2755, allocations: 93.48 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2755, allocations: 0 / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2756, allocations: 0 / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.2756, allocations: 85.02 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2756, allocations: 0 / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2758, allocations: 23.97 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.2758, allocations: 15.92 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002751/0.2761, allocations: 172.9 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002173/0.2763, allocations: 258.7 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.788e-05/0.2764, allocations: 27.98 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.2765, allocations: 99.58 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Backend: time 2.8e-07/0.2765, allocations: 0 / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.2769, allocations: 106.4 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004628/0.2774, allocations: 0.5877 MB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.002754/0.2801, allocations: 0.7117 MB / 0.985 GB, free: 21.99 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)