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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.956/1.956, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001414/0.001414, allocations: 191.9 kB / 377.1 MB, free: 1.523 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.86/1.86, allocations: 205.4 MB / 0.6366 GB, free: 9.551 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.001139/0.001139, allocations: 91.98 kB / 0.7509 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003772, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2818, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8101/1.092, allocations: 139.7 MB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.092, allocations: 72.58 kB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0121/1.104, allocations: 4.341 MB / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.985e-06/1.104, allocations: 0 / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.554e-05/1.105, allocations: 4 kB / 1.129 GB, free: 32 MB / 0.7292 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.0009668/1.106, allocations: 0.5488 MB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.106, allocations: 12.58 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/1.106, allocations: 45.84 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/1.106, allocations: 22.44 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/1.106, allocations: 199.5 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/1.106, allocations: 13.2 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/1.106, allocations: 16 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/1.107, allocations: 145.2 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.107, allocations: 0 / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/1.107, allocations: 4 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.107, allocations: 13.44 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/1.107, allocations: 93 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/1.108, allocations: 0.6846 MB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/1.108, allocations: 155.5 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/1.108, allocations: 7.938 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/1.109, allocations: 158.7 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/1.109, allocations: 0 / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000609/1.109, allocations: 242.1 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.109, allocations: 106.9 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/1.109, allocations: 179.3 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/1.11, allocations: 41.78 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/1.11, allocations: 120 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/1.11, allocations: 42.98 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.11, allocations: 8 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/1.11, allocations: 326 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.11, allocations: 111.5 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/1.11, allocations: 186 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/1.111, allocations: 159.8 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/1.111, allocations: 0 / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006882/1.111, allocations: 388.3 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/1.111, allocations: 66.92 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.112, allocations: 4.938 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.112, allocations: 1.781 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/1.112, allocations: 27.41 kB / 1.133 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.112, allocations: 4 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/1.112, allocations: 105.3 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/1.112, allocations: 19.42 kB / 1.133 GB, free: 27.87 MB / 0.7292 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.0001432/1.112, allocations: 145.7 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/1.112, allocations: 19.81 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/1.113, allocations: 111 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.113, allocations: 4 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.113, allocations: 4.875 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.113, allocations: 0 / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/1.113, allocations: 252.6 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.113, allocations: 4 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/1.113, allocations: 15.42 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/1.113, allocations: 4 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/1.113, allocations: 7.938 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.113, allocations: 0.5625 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.113, allocations: 4 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/1.113, allocations: 238.4 kB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/1.113, allocations: 90.36 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/1.114, allocations: 8 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.114, allocations: 26.84 kB / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.114, allocations: 29.88 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/1.114, allocations: 7.969 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001057/1.114, allocations: 142.5 kB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.114, allocations: 4 kB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003443/1.114, allocations: 59.94 kB / 1.134 GB, free: 26.72 MB / 0.7292 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.0007377/1.115, allocations: 0.9236 MB / 1.135 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000564/1.116, allocations: 355.2 kB / 1.136 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.116, allocations: 0 / 1.136 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/1.116, allocations: 83.58 kB / 1.136 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/1.116, allocations: 41.47 kB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.117, allocations: 1.5 MB / 1.137 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/1.118, allocations: 0.722 MB / 1.138 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001102/1.118, allocations: 25.44 kB / 1.138 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/1.118, allocations: 54.28 kB / 1.138 GB, free: 23.01 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.118, allocations: 0.5625 kB / 1.138 GB, free: 23.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/1.144, allocations: 4.715 MB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/1.144, allocations: 190.4 kB / 1.143 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.981, allocations: 0 / 1.143 GB, free: 20.17 MB / 0.7292 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/linux/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)