Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 304.3 MB, free: 8.016 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.001091/0.001091, allocations: 181.5 kB / 372.9 MB, free: 10.15 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.591/1.591, allocations: 205.4 MB / 0.6316 GB, free: 9.945 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.0007702/0.0007704, allocations: 108.6 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006054/0.0006056, allocations: 18.16 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2682, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001114/0.2693, allocations: 0.6984 MB / 0.9814 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2707, allocations: 1.289 MB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.2708, allocations: 0 / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2708, allocations: 7.875 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.271, allocations: 27.78 kB / 0.9827 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.2716, allocations: 229.4 kB / 0.983 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.2718, allocations: 259.4 kB / 0.9832 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2719, allocations: 37.67 kB / 0.9832 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2721, allocations: 99.67 kB / 0.9833 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2722, allocations: 91.62 kB / 0.9834 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.2722, allocations: 12 kB / 0.9834 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.2723, allocations: 31.92 kB / 0.9835 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.2723, allocations: 19.92 kB / 0.9835 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2725, allocations: 125.2 kB / 0.9836 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.2727, allocations: 247.6 kB / 0.9838 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.2727, allocations: 0 / 0.9838 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2727, allocations: 0 / 0.9838 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2727, allocations: 0 / 0.9838 GB, free: 24.16 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006885/0.2734, allocations: 0.5381 MB / 0.9844 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2735, allocations: 8.031 kB / 0.9844 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.2735, allocations: 24.66 kB / 0.9844 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.2743, allocations: 335.4 kB / 0.9847 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.2743, allocations: 8.375 kB / 0.9847 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.2744, allocations: 20.36 kB / 0.9847 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.2746, allocations: 139 kB / 0.9849 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2746, allocations: 3.938 kB / 0.9849 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2747, allocations: 4 kB / 0.9849 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2747, allocations: 4 kB / 0.9849 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2749, allocations: 75.89 kB / 0.985 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.2755, allocations: 0.6452 MB / 0.9856 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.2759, allocations: 143.8 kB / 0.9857 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.276, allocations: 58.7 kB / 0.9858 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.276, allocations: 7.938 kB / 0.9858 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.2763, allocations: 149.9 kB / 0.9859 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.2763, allocations: 0 / 0.9859 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.000545/0.2768, allocations: 217.2 kB / 0.9861 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2769, allocations: 106.8 kB / 0.9862 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.277, allocations: 191.7 kB / 0.9864 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2771, allocations: 33.7 kB / 0.9865 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.2772, allocations: 124.5 kB / 0.9866 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2772, allocations: 43.52 kB / 0.9866 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.2772, allocations: 8 kB / 0.9866 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.2773, allocations: 326.8 kB / 0.9869 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2775, allocations: 99.94 kB / 0.987 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.2778, allocations: 168.5 kB / 0.9872 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.2781, allocations: 233.2 kB / 0.9874 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2781, allocations: 0 / 0.9874 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005579/0.2787, allocations: 345.2 kB / 0.9877 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.2787, allocations: 75.52 kB / 0.9878 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2787, allocations: 192 / 0.9878 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2787, allocations: 4 kB / 0.9878 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.2788, allocations: 23.92 kB / 0.9878 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2789, allocations: 7.938 kB / 0.9878 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.2792, allocations: 95.7 kB / 0.9879 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.2793, allocations: 15.98 kB / 0.988 GB, free: 19.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001153/0.2794, allocations: 142.3 kB / 0.9881 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.2794, allocations: 15.81 kB / 0.9881 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.2797, allocations: 102.6 kB / 0.9882 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2797, allocations: 0 / 0.9882 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2797, allocations: 0 / 0.9882 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2798, allocations: 100.8 kB / 0.9883 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2798, allocations: 11.94 kB / 0.9883 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2799, allocations: 11.98 kB / 0.9883 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.28, allocations: 31.94 kB / 0.9884 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004005/0.2804, allocations: 403.4 kB / 0.9887 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003863/0.2808, allocations: 488.3 kB / 0.9892 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000134/0.2809, allocations: 63.91 kB / 0.9893 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.885e-05/0.281, allocations: 143.3 kB / 0.9894 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of Backend: time 4.51e-07/0.281, allocations: 0 / 0.9894 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000838/0.2819, allocations: 365.1 kB / 0.9897 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007113/0.2826, allocations: 0.7682 MB / 0.9905 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.005777/0.2884, allocations: 3.047 MB / 0.9935 GB, free: 13.8 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)