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 1.798/1.798, allocations: 287.5 MB / 302.6 MB, free: 8.281 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.0009495/0.0009496, allocations: 180.5 kB / 371.2 MB, free: 10.83 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.634/1.634, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0008654/0.0008655, allocations: 92.62 kB / 0.7432 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 18 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2949, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001336/0.2963, allocations: 0.6974 MB / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.2985, allocations: 1.294 MB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.2987, allocations: 4 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.161e-05/0.2988, allocations: 11.86 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2991, allocations: 27.8 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.3, allocations: 221.3 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.3004, allocations: 259.4 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3005, allocations: 41.67 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.3008, allocations: 95.67 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3009, allocations: 91.64 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.301, allocations: 12 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3011, allocations: 27.97 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.3011, allocations: 27.86 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.613e-05/0.3012, allocations: 57.64 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3015, allocations: 255.5 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3015, allocations: 0 / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3015, allocations: 0 / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3015, allocations: 0 / 0.9817 GB, free: 25.08 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.0008228/0.3023, allocations: 0.5216 MB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3024, allocations: 12.03 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3025, allocations: 24.66 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.3034, allocations: 337.8 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.3034, allocations: 12.38 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.3035, allocations: 16.38 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3038, allocations: 150.9 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3038, allocations: 3.938 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3038, allocations: 0 / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3038, allocations: 4 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.3041, allocations: 79.88 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.3048, allocations: 0.6413 MB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.3053, allocations: 139.9 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3054, allocations: 62.7 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.3054, allocations: 0 / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.3058, allocations: 152.1 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.3058, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005491/0.3064, allocations: 221.2 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3064, allocations: 110.8 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3066, allocations: 198.6 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.3066, allocations: 37.7 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.3067, allocations: 120.5 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3068, allocations: 39.52 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.3068, allocations: 8 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.3069, allocations: 326.8 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.3071, allocations: 99.94 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3074, allocations: 156.5 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3077, allocations: 241.2 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3077, allocations: 0 / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000608/0.3083, allocations: 348.7 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.3084, allocations: 61.72 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3084, allocations: 11.98 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3084, allocations: 4 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.3085, allocations: 23.92 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3085, allocations: 7.938 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.3089, allocations: 87.77 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.309, allocations: 16 kB / 0.9858 GB, free: 20.49 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.0001244/0.3091, allocations: 150.2 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3091, allocations: 15.81 kB / 0.986 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3094, allocations: 94.64 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3094, allocations: 4.281 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3094, allocations: 3.938 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3094, allocations: 11.98 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3096, allocations: 237.5 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3096, allocations: 0 / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.3097, allocations: 19.92 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3097, allocations: 0 / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3097, allocations: 4.688 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3098, allocations: 3.984 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3098, allocations: 7.938 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.3101, allocations: 194.6 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.3101, allocations: 96.92 kB / 0.9866 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3102, allocations: 0 / 0.9866 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.3103, allocations: 19.98 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.3104, allocations: 35.81 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3104, allocations: 8 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001018/0.3105, allocations: 140.2 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3105, allocations: 0 / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002827/0.3108, allocations: 43.91 kB / 0.9869 GB, free: 19.32 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.0002073/0.311, allocations: 123.2 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.3115, allocations: 334.5 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3115, allocations: 0 / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3117, allocations: 68.16 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.312, allocations: 35.97 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.3126, allocations: 338.5 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3127, allocations: 0.7206 MB / 0.9884 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.3129, allocations: 21.55 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3129, allocations: 23.42 kB / 0.9885 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.3129, allocations: 4 kB / 0.9885 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.006756/0.3197, allocations: 2.893 MB / 0.9913 GB, free: 14.72 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)