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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 92 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.005454/0.005454, allocations: 170.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.249/1.249, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.556/1.556, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004883/0.0004883, allocations: 21.3 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1892, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001116/0.1904, allocations: 0.7407 MB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1919, allocations: 1.328 MB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.192, allocations: 0 / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.192, allocations: 7.875 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1921, allocations: 27.78 kB / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.1928, allocations: 252.3 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.193, allocations: 291.3 kB / 0.7906 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1932, allocations: 37.67 kB / 0.7906 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1933, allocations: 99.67 kB / 0.7907 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1934, allocations: 95.56 kB / 0.7908 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1935, allocations: 12 kB / 0.7908 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.1936, allocations: 27.98 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.1936, allocations: 23.86 kB / 0.7909 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1937, allocations: 125.2 kB / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.194, allocations: 311.2 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1941, allocations: 0 / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1941, allocations: 0 / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1941, allocations: 4 kB / 0.7913 GB, free: 8.098 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.000743/0.1948, allocations: 0.5255 MB / 0.7918 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1949, allocations: 16.03 kB / 0.7918 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.1949, allocations: 38.73 kB / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.195, allocations: 28.66 kB / 0.7919 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.1957, allocations: 331.7 kB / 0.7922 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.1958, allocations: 12.38 kB / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1958, allocations: 24.36 kB / 0.7922 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1961, allocations: 135.4 kB / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1961, allocations: 0 / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1961, allocations: 12 kB / 0.7924 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1962, allocations: 0 / 0.7924 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.1964, allocations: 83.88 kB / 0.7925 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.1971, allocations: 0.6374 MB / 0.7931 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.1974, allocations: 143.9 kB / 0.7932 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1976, allocations: 54.7 kB / 0.7933 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1976, allocations: 12 kB / 0.7933 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.1979, allocations: 145.7 kB / 0.7934 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.1979, allocations: 4 kB / 0.7934 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000557/0.1985, allocations: 213.3 kB / 0.7936 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.1985, allocations: 118.7 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1987, allocations: 186.6 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.1988, allocations: 41.7 kB / 0.794 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.1989, allocations: 128.4 kB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.1989, allocations: 35.58 kB / 0.7941 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.199, allocations: 33.7 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1991, allocations: 326.8 kB / 0.7945 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.1993, allocations: 95.89 kB / 0.7945 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.1996, allocations: 160.5 kB / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.2, allocations: 241.2 kB / 0.7949 GB, free: 4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2, allocations: 0 / 0.7949 GB, free: 4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006385/0.2006, allocations: 361.1 kB / 0.7953 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.2007, allocations: 66.2 kB / 0.7953 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2007, allocations: 192 / 0.7953 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2007, allocations: 4 kB / 0.7953 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.2008, allocations: 36.05 kB / 0.7954 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2008, allocations: 3.938 kB / 0.7954 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.2012, allocations: 91.77 kB / 0.7955 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.2013, allocations: 15.98 kB / 0.7955 GB, free: 3.406 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.0001225/0.2014, allocations: 140.6 kB / 0.7956 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.2014, allocations: 15.81 kB / 0.7956 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.2017, allocations: 110.8 kB / 0.7957 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2017, allocations: 4 kB / 0.7957 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2017, allocations: 3.938 kB / 0.7957 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2017, allocations: 7.922 kB / 0.7958 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2019, allocations: 229.6 kB / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2019, allocations: 4 kB / 0.796 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.202, allocations: 19.98 kB / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.202, allocations: 0 / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.202, allocations: 7.938 kB / 0.796 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.202, allocations: 0 / 0.796 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2021, allocations: 3.938 kB / 0.796 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2024, allocations: 202.5 kB / 0.7962 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.2025, allocations: 96.81 kB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.2025, allocations: 7.938 kB / 0.7963 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2026, allocations: 15.98 kB / 0.7963 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.2027, allocations: 31.89 kB / 0.7963 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2027, allocations: 8 kB / 0.7964 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001093/0.2028, allocations: 135.2 kB / 0.7965 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2028, allocations: 0 / 0.7965 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.2031, allocations: 51.94 kB / 0.7965 GB, free: 2.223 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.0006582/0.2038, allocations: 0.7428 MB / 0.7973 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.2043, allocations: 334.8 kB / 0.7976 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2043, allocations: 0 / 0.7976 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2045, allocations: 63.91 kB / 0.7976 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2048, allocations: 51.25 kB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.2077, allocations: 2.348 MB / 0.8 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.208, allocations: 0.7242 MB / 0.8007 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2081, allocations: 29.47 kB / 0.8007 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.2082, allocations: 55.42 kB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2082, allocations: 0 / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3885/0.5967, allocations: 4.472 MB / 0.8051 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003116/0.5971, allocations: 216.2 kB / 0.8053 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.503, allocations: 3.938 kB / 0.8053 GB, free: 9.09 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)