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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.692/2.692, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001456/0.001456, allocations: 185.6 kB / 370.8 MB, free: 10.87 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.336/2.336, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001208/0.001208, allocations: 82.42 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004957, allocations: 14.67 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9407/1.169, allocations: 138.6 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.169, allocations: 71.78 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0208/1.19, allocations: 4.332 MB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/1.19, allocations: 0 / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.36e-05/1.19, allocations: 3.688 kB / 1.118 GB, free: 31.24 MB / 0.698 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.00109/1.191, allocations: 0.542 MB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.192, allocations: 15.52 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/1.192, allocations: 52.16 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/1.192, allocations: 23.34 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/1.192, allocations: 204.7 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/1.192, allocations: 7.531 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/1.192, allocations: 25.55 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/1.192, allocations: 136.2 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.193, allocations: 3.938 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.193, allocations: 14.67 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.193, allocations: 0 / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/1.193, allocations: 96.14 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.194, allocations: 0.6854 MB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/1.195, allocations: 154.4 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/1.195, allocations: 3.875 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/1.195, allocations: 159.1 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.446e-06/1.195, allocations: 0 / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0009408/1.196, allocations: 237.5 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.196, allocations: 108.8 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/1.197, allocations: 173.2 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/1.197, allocations: 43.78 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.197, allocations: 124.6 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/1.197, allocations: 37.44 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/1.197, allocations: 6.938 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.197, allocations: 328.5 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/1.198, allocations: 112.7 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/1.198, allocations: 182 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/1.198, allocations: 166.1 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.198, allocations: 0 / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001134/1.2, allocations: 389 kB / 1.122 GB, free: 28.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/1.2, allocations: 70.83 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.2, allocations: 3.875 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.2, allocations: 0 / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/1.2, allocations: 19.58 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.2, allocations: 9.422 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/1.201, allocations: 110.1 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.201, allocations: 15.19 kB / 1.122 GB, free: 28.72 MB / 0.698 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.0002287/1.201, allocations: 142 kB / 1.122 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/1.201, allocations: 15.53 kB / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/1.202, allocations: 116.5 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.202, allocations: 3.906 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.202, allocations: 0 / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/1.202, allocations: 3.906 kB / 1.122 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/1.202, allocations: 245.9 kB / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.202, allocations: 4 kB / 1.123 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/1.202, allocations: 22.16 kB / 1.123 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/1.202, allocations: 0 / 1.123 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.202, allocations: 14.3 kB / 1.123 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.202, allocations: 0 / 1.123 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.202, allocations: 11.72 kB / 1.123 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/1.203, allocations: 235 kB / 1.123 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/1.203, allocations: 95.22 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/1.203, allocations: 3.688 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/1.203, allocations: 31.39 kB / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.203, allocations: 31.77 kB / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.203, allocations: 3.875 kB / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001557/1.204, allocations: 146 kB / 1.123 GB, free: 28.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.204, allocations: 0 / 1.123 GB, free: 28.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004648/1.204, allocations: 60.27 kB / 1.123 GB, free: 28.01 MB / 0.698 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.001078/1.205, allocations: 0.9198 MB / 1.124 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001006/1.206, allocations: 356.3 kB / 1.124 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.206, allocations: 0 / 1.124 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/1.206, allocations: 76.31 kB / 1.124 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/1.207, allocations: 43.86 kB / 1.125 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.208, allocations: 1.492 MB / 1.126 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/1.209, allocations: 0.7299 MB / 1.127 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001562/1.209, allocations: 19.11 kB / 1.127 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.209, allocations: 54.73 kB / 1.127 GB, free: 24.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.144e-06/1.209, allocations: 0 / 1.127 GB, free: 24.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/1.239, allocations: 4.736 MB / 1.131 GB, free: 24.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/1.239, allocations: 193.2 kB / 1.132 GB, free: 24.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.772, allocations: 1.969 kB / 1.132 GB, free: 24.35 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)