Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.876/2.876, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.0015/0.0015, allocations: 179.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.52/2.52, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001703/0.001703, allocations: 90.98 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 14.19 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.255, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001841/0.2569, allocations: 0.6945 MB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.26, allocations: 1.258 MB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.2602, allocations: 4 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.2603, allocations: 11.86 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2605, allocations: 31.94 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.262, allocations: 217.9 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.2625, allocations: 159.7 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.2628, allocations: 41.83 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.2631, allocations: 95.73 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.2633, allocations: 87.62 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.2634, allocations: 15.94 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.2636, allocations: 27.98 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.2637, allocations: 23.91 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2638, allocations: 65.58 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.2643, allocations: 247.6 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2644, allocations: 0 / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2644, allocations: 0 / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2644, allocations: 0 / 0.9811 GB, free: 25.39 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.001389/0.2658, allocations: 0.5292 MB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.2659, allocations: 8.031 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.2661, allocations: 27.72 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.268, allocations: 322.3 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.2681, allocations: 12 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.2683, allocations: 23.98 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.2689, allocations: 132.2 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2689, allocations: 3.984 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.269, allocations: 7.953 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.269, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.2695, allocations: 83.88 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.2709, allocations: 0.6413 MB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.2717, allocations: 140 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.2718, allocations: 0 / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006445/0.2725, allocations: 158.7 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 4.118e-06/0.2725, allocations: 0 / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001303/0.2738, allocations: 213.7 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.274, allocations: 114.8 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.2744, allocations: 186.7 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.2745, allocations: 45.69 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.2747, allocations: 116.5 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.2748, allocations: 39.55 kB / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.2749, allocations: 8 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.275, allocations: 330.8 kB / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.2757, allocations: 95.88 kB / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.2764, allocations: 164.8 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.2771, allocations: 155.4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2771, allocations: 0 / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00159/0.2787, allocations: 356.8 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.2789, allocations: 67.39 kB / 0.9849 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.2789, allocations: 4 kB / 0.9849 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.2789, allocations: 0 / 0.9849 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2792, allocations: 23.92 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2792, allocations: 4 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.2803, allocations: 91.77 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.2805, allocations: 15.98 kB / 0.9851 GB, free: 20.98 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.0002925/0.2808, allocations: 142.2 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.2809, allocations: 15.81 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.2814, allocations: 102.5 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2815, allocations: 8 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2815, allocations: 0 / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2815, allocations: 3.938 kB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.2817, allocations: 241.5 kB / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2818, allocations: 4 kB / 0.9856 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.282, allocations: 19.92 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.282, allocations: 288 / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.282, allocations: 11.98 kB / 0.9856 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.282, allocations: 0 / 0.9856 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.656e-06/0.282, allocations: 0 / 0.9856 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.2828, allocations: 226.7 kB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.2829, allocations: 92.92 kB / 0.9859 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.283, allocations: 7.984 kB / 0.9859 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.2833, allocations: 19.92 kB / 0.9859 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2834, allocations: 27.91 kB / 0.986 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.2835, allocations: 12.17 kB / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000239/0.2837, allocations: 136.2 kB / 0.9861 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.81e-07/0.2838, allocations: 4 kB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007513/0.2845, allocations: 40 kB / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/0.2849, allocations: 121 kB / 0.9863 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.2862, allocations: 334.5 kB / 0.9866 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.2863, allocations: 4 kB / 0.9866 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.2867, allocations: 63.91 kB / 0.9866 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.2874, allocations: 36.22 kB / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2885, allocations: 338.5 kB / 0.987 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.2888, allocations: 0.7206 MB / 0.9877 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002749/0.2891, allocations: 29.53 kB / 0.9877 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2893, allocations: 19.44 kB / 0.9877 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/0.2893, allocations: 0 / 0.9877 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.01338/0.3027, allocations: 2.881 MB / 0.9906 GB, free: 15.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)