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.805/1.805, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001063/0.001063, allocations: 181.1 kB / 371.8 MB, free: 10.27 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.776/1.776, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001133/0.001134, allocations: 94.66 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006163/0.0006165, allocations: 13.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2661, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9/1.166, allocations: 138.7 MB / 1.115 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.166, allocations: 70.89 kB / 1.115 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/1.179, allocations: 4.343 MB / 1.119 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.179, allocations: 0 / 1.119 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.179, allocations: 0 / 1.119 GB, free: 31.8 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.001022/1.18, allocations: 0.5496 MB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.18, allocations: 11.8 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/1.18, allocations: 46.06 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/1.181, allocations: 26.75 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.181, allocations: 197.8 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/1.181, allocations: 11.44 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/1.181, allocations: 19.38 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/1.181, allocations: 143.6 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.181, allocations: 3.938 kB / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.181, allocations: 3.75 kB / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.181, allocations: 11.77 kB / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/1.181, allocations: 97.06 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/1.182, allocations: 0.6774 MB / 1.121 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/1.183, allocations: 155.6 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/1.183, allocations: 10.97 kB / 1.121 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/1.183, allocations: 161.7 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/1.183, allocations: 0 / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006148/1.184, allocations: 236.2 kB / 1.122 GB, free: 30.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/1.184, allocations: 106.7 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/1.184, allocations: 175.8 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/1.184, allocations: 35.08 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.184, allocations: 127.1 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/1.185, allocations: 40.83 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/1.185, allocations: 3.844 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.185, allocations: 330.7 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/1.185, allocations: 107.6 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/1.185, allocations: 187.3 kB / 1.123 GB, free: 29.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/1.186, allocations: 161.2 kB / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.186, allocations: 0 / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000724/1.186, allocations: 385.5 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/1.186, allocations: 72.58 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.186, allocations: 0 / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.186, allocations: 3.906 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.187, allocations: 18.22 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.187, allocations: 10.69 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/1.187, allocations: 110.3 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/1.187, allocations: 14.19 kB / 1.123 GB, free: 29.28 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.0001842/1.187, allocations: 146 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/1.187, allocations: 15.53 kB / 1.124 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/1.188, allocations: 115.4 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.188, allocations: 3.844 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.188, allocations: 2.672 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.188, allocations: 0 / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/1.188, allocations: 248.8 kB / 1.124 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.188, allocations: 7.938 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/1.188, allocations: 22.16 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.188, allocations: 0 / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.188, allocations: 9.703 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.188, allocations: 0 / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.188, allocations: 3.938 kB / 1.124 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/1.189, allocations: 237 kB / 1.124 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/1.189, allocations: 96.23 kB / 1.124 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/1.189, allocations: 2.672 kB / 1.124 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/1.189, allocations: 31.89 kB / 1.124 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/1.189, allocations: 29.61 kB / 1.124 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.189, allocations: 7.719 kB / 1.124 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001295/1.189, allocations: 149.1 kB / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.189, allocations: 0 / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003973/1.189, allocations: 56.31 kB / 1.125 GB, free: 28.57 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.0009955/1.19, allocations: 0.9319 MB / 1.125 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006169/1.191, allocations: 353.6 kB / 1.126 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.191, allocations: 3.844 kB / 1.126 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/1.191, allocations: 78.94 kB / 1.126 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/1.192, allocations: 36.55 kB / 1.126 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/1.193, allocations: 1.494 MB / 1.127 GB, free: 26.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/1.193, allocations: 0.7307 MB / 1.128 GB, free: 25.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001088/1.194, allocations: 22.42 kB / 1.128 GB, free: 25.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/1.194, allocations: 55.08 kB / 1.128 GB, free: 25.53 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/1.194, allocations: 4 kB / 1.128 GB, free: 25.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/1.213, allocations: 4.742 MB / 1.133 GB, free: 24.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.213, allocations: 197.2 kB / 1.133 GB, free: 24.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.993, allocations: 0 / 1.133 GB, free: 24.41 MB / 0.698 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)