Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009493/0.009493, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.915/1.915, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005903, allocations: 24.23 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.286, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001488/0.2876, allocations: 0.7368 MB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2898, allocations: 1.336 MB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.2899, allocations: 0 / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.2899, allocations: 7.922 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.2901, allocations: 27.73 kB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008685/0.291, allocations: 242.8 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.2914, allocations: 287.3 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2916, allocations: 41.66 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2917, allocations: 99.67 kB / 0.7906 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2919, allocations: 99.56 kB / 0.7907 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.292, allocations: 15.94 kB / 0.7907 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.2921, allocations: 23.98 kB / 0.7907 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.2922, allocations: 31.84 kB / 0.7908 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.2923, allocations: 117.3 kB / 0.7909 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.2927, allocations: 307.2 kB / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2927, allocations: 0 / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2927, allocations: 0 / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2927, allocations: 0 / 0.7912 GB, free: 8.191 MB / 0.6075 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.001012/0.2938, allocations: 0.5333 MB / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.2938, allocations: 8.031 kB / 0.7917 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.2939, allocations: 32.64 kB / 0.7917 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.2948, allocations: 331.6 kB / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.2949, allocations: 12.38 kB / 0.792 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.2949, allocations: 16.38 kB / 0.7921 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.2952, allocations: 136.7 kB / 0.7922 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2952, allocations: 3.938 kB / 0.7922 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2953, allocations: 4 kB / 0.7922 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2953, allocations: 4 kB / 0.7922 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.2955, allocations: 83.94 kB / 0.7923 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.2963, allocations: 0.6374 MB / 0.7929 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.2967, allocations: 147.7 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.2968, allocations: 54.8 kB / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.2969, allocations: 0 / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.2971, allocations: 149.8 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.2972, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005426/0.2977, allocations: 221.7 kB / 0.7935 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.2978, allocations: 102.8 kB / 0.7936 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.2979, allocations: 198.5 kB / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.298, allocations: 41.64 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.2981, allocations: 120.5 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2981, allocations: 47.52 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.2982, allocations: 29.7 kB / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2983, allocations: 330.8 kB / 0.7943 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2986, allocations: 91.95 kB / 0.7944 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.2989, allocations: 172.4 kB / 0.7945 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.2993, allocations: 237.3 kB / 0.7948 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2993, allocations: 0 / 0.7948 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006412/0.2999, allocations: 360.6 kB / 0.7951 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.3, allocations: 71.39 kB / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3, allocations: 0 / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3001, allocations: 4 kB / 0.7952 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.3001, allocations: 15.98 kB / 0.7952 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.3002, allocations: 12 kB / 0.7952 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.3006, allocations: 95.77 kB / 0.7953 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.3006, allocations: 12 kB / 0.7953 GB, free: 3.547 MB / 0.6075 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,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.3008, allocations: 138.1 kB / 0.7954 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3008, allocations: 19.8 kB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.3011, allocations: 106.6 kB / 0.7956 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3011, allocations: 0 / 0.7956 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3011, allocations: 7.938 kB / 0.7956 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3011, allocations: 0 / 0.7956 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3014, allocations: 237.5 kB / 0.7958 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3014, allocations: 3.938 kB / 0.7958 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3015, allocations: 15.98 kB / 0.7958 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3016, allocations: 8 kB / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3016, allocations: 7.984 kB / 0.7958 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3016, allocations: 4 kB / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3016, allocations: 7.875 kB / 0.7958 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.302, allocations: 202.6 kB / 0.796 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.3021, allocations: 88.92 kB / 0.7961 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3021, allocations: 8 kB / 0.7961 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3022, allocations: 11.98 kB / 0.7961 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.3024, allocations: 31.83 kB / 0.7962 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3024, allocations: 12.17 kB / 0.7962 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3025, allocations: 143.2 kB / 0.7963 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3025, allocations: 0 / 0.7963 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002766/0.3028, allocations: 43.91 kB / 0.7964 GB, free: 2.359 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002045/0.303, allocations: 122.1 kB / 0.7965 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.3036, allocations: 322.6 kB / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.3036, allocations: 0 / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.3038, allocations: 75.84 kB / 0.7969 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3041, allocations: 36.22 kB / 0.7969 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.3047, allocations: 326.4 kB / 0.7972 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.305, allocations: 0.7245 MB / 0.7979 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3051, allocations: 21.55 kB / 0.7979 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.3052, allocations: 27.42 kB / 0.798 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of SimCode: time 4.8e-07/0.3052, allocations: 0 / 0.798 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of Templates: time 0.006785/0.312, allocations: 2.992 MB / 0.8009 GB, free: 13.68 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1) Environment - environmentSimulation: