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.83/1.83, allocations: 285.4 MB / 298 MB, free: 6.012 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.001111/0.001111, allocations: 196.8 kB / 366.4 MB, free: 2.066 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.76/1.76, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008061/0.0008062, allocations: 95.08 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.291e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7519, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.9589, allocations: 138.6 MB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.9591, allocations: 74.84 kB / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.9719, allocations: 4.328 MB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9719, allocations: 0 / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.9719, allocations: 4 kB / 1.111 GB, free: 8.797 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.0006974/0.9727, allocations: 0.5131 MB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.9727, allocations: 8.031 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.9728, allocations: 43.94 kB / 1.111 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.9728, allocations: 23.72 kB / 1.111 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.973, allocations: 208 kB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.9731, allocations: 11.94 kB / 1.111 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.9731, allocations: 20 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.9733, allocations: 121.2 kB / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.9734, allocations: 1.688 kB / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.9734, allocations: 0 / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.9734, allocations: 7.953 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.9735, allocations: 63.92 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.9744, allocations: 0.6803 MB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.9747, allocations: 140 kB / 1.112 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.9748, allocations: 46.64 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.9748, allocations: 4 kB / 1.113 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.9751, allocations: 148.9 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.9751, allocations: 0 / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004308/0.9755, allocations: 137.4 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.9756, allocations: 122.7 kB / 1.113 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.9758, allocations: 169.9 kB / 1.113 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.9758, allocations: 41.64 kB / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.9759, allocations: 116.5 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.976, allocations: 47.52 kB / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.976, allocations: 4 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9761, allocations: 330.8 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.9763, allocations: 89.78 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.9765, allocations: 165 kB / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.9768, allocations: 148 kB / 1.114 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9768, allocations: 0 / 1.114 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005582/0.9773, allocations: 340.7 kB / 1.114 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/0.9774, allocations: 71.39 kB / 1.114 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.9774, allocations: 0 / 1.114 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.9774, allocations: 4 kB / 1.114 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.9775, allocations: 27.92 kB / 1.114 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9776, allocations: 0 / 1.114 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.978, allocations: 115.9 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.9781, allocations: 18.48 kB / 1.115 GB, free: 4.504 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.0001065/0.9782, allocations: 125.9 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.9782, allocations: 15.81 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.9784, allocations: 82.75 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.9784, allocations: 3.125 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9784, allocations: 4 kB / 1.115 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.9784, allocations: 3.984 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.9787, allocations: 248 kB / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9787, allocations: 0 / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.9788, allocations: 27.92 kB / 1.115 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9788, allocations: 0 / 1.115 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.9788, allocations: 4 kB / 1.115 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9788, allocations: 4 kB / 1.115 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9788, allocations: 0 / 1.115 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.9791, allocations: 202 kB / 1.115 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.9792, allocations: 92.91 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.9792, allocations: 12 kB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.9793, allocations: 23.97 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.9794, allocations: 35.83 kB / 1.115 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.9795, allocations: 7.984 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001121/0.9796, allocations: 144 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9796, allocations: 0 / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002682/0.9799, allocations: 59.95 kB / 1.116 GB, free: 3.32 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.0006349/0.9805, allocations: 0.8977 MB / 1.116 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.9809, allocations: 315.7 kB / 1.117 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.981, allocations: 0 / 1.117 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.9811, allocations: 55.94 kB / 1.117 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.9814, allocations: 47.69 kB / 1.117 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.982, allocations: 275.4 kB / 1.117 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.9823, allocations: 0.7207 MB / 1.118 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.116e-05/0.9824, allocations: 21.55 kB / 1.118 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.9825, allocations: 51.41 kB / 1.118 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.9825, allocations: 0 / 1.118 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.9995, allocations: 4.795 MB / 1.123 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.9998, allocations: 181.7 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.676, allocations: 7.938 kB / 1.123 GB, free: 12.04 MB / 0.7292 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)