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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001315/0.001315, allocations: 172.9 kB / 361.4 MB, free: 6.891 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.187/2.187, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000957/0.0009574, allocations: 96.78 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.744e-05, allocations: 8 kB / 0.8519 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8611, allocations: 115.3 MB / 0.9645 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/1.142, allocations: 138 MB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.143, allocations: 75.95 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01767/1.16, allocations: 4.301 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.277e-06/1.16, allocations: 3 kB / 1.104 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.411e-05/1.16, allocations: 4 kB / 1.104 GB, free: 13.56 MB / 0.7136 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.001337/1.162, allocations: 0.517 MB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 9.168e-05/1.162, allocations: 8.031 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/1.162, allocations: 28.75 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/1.162, allocations: 203.8 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/1.163, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.163, allocations: 16 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002315/1.163, allocations: 51.98 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/1.163, allocations: 117.2 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.163, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/1.163, allocations: 4 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.163, allocations: 3.953 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/1.165, allocations: 0.6419 MB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/1.165, allocations: 141 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.165, allocations: 42.64 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/1.165, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/1.166, allocations: 145.8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/1.166, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004763/1.166, allocations: 136.8 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/1.166, allocations: 106.8 kB / 1.106 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/1.167, allocations: 170 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/1.167, allocations: 33.7 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.167, allocations: 120.5 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/1.167, allocations: 35.45 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/1.167, allocations: 8 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002719/1.167, allocations: 330.8 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/1.168, allocations: 80 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/1.168, allocations: 159.1 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/1.169, allocations: 88.02 kB / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.169, allocations: 4 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009689/1.17, allocations: 287.1 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.17, allocations: 71.52 kB / 1.107 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.17, allocations: 8 kB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/1.17, allocations: 4 kB / 1.107 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.17, allocations: 19.92 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.17, allocations: 4 kB / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/1.171, allocations: 107.8 kB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/1.171, allocations: 19.98 kB / 1.107 GB, free: 9.586 MB / 0.7136 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 () * 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.0001856/1.171, allocations: 114.5 kB / 1.107 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002861/1.171, allocations: 137.4 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/1.171, allocations: 19.81 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/1.171, allocations: 68.8 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/1.172, allocations: 4 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.172, allocations: 0 / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.172, allocations: 4 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/1.172, allocations: 218 kB / 1.108 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.172, allocations: 3.953 kB / 1.108 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.172, allocations: 23.92 kB / 1.108 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/1.172, allocations: 4 kB / 1.108 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.172, allocations: 0 / 1.108 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/1.172, allocations: 9.391 kB / 1.108 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.172, allocations: 0 / 1.108 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/1.172, allocations: 192.2 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/1.173, allocations: 92.91 kB / 1.108 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/1.173, allocations: 8 kB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.173, allocations: 27.97 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.173, allocations: 31.89 kB / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/1.173, allocations: 11.92 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001535/1.173, allocations: 132 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/1.173, allocations: 0 / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005011/1.174, allocations: 52 kB / 1.108 GB, free: 8.348 MB / 0.7136 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) * 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.0009005/1.175, allocations: 0.8952 MB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006292/1.175, allocations: 302.3 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.175, allocations: 4.25 kB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/1.175, allocations: 55.94 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/1.176, allocations: 39.44 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/1.177, allocations: 253.3 kB / 1.11 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/1.177, allocations: 0.7243 MB / 1.11 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001426/1.178, allocations: 22.14 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/1.178, allocations: 55.41 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/1.178, allocations: 0 / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/1.21, allocations: 4.227 MB / 1.115 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/1.21, allocations: 161.3 kB / 1.115 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/3.032, allocations: 4.031 kB / 1.115 GB, free: 1.582 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)