Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 183.5 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008329/0.000833, allocations: 94.36 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.959e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7516/0.9619, allocations: 132.3 MB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.9622, allocations: 70.77 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006564/0.9688, allocations: 2.109 MB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9688, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.9688, allocations: 7.75 kB / 1.017 GB, free: 3.344 MB / 0.6355 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.0008095/0.9697, allocations: 486.2 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9697, allocations: 8.031 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.9698, allocations: 11.91 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.9699, allocations: 193.7 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.9699, allocations: 4 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.97, allocations: 8 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001584/0.9701, allocations: 55.75 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.9704, allocations: 133.2 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9704, allocations: 0 / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.9704, allocations: 7.938 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.9704, allocations: 4 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.9713, allocations: 0.5576 MB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.9715, allocations: 130.4 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.9716, allocations: 48.3 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.9716, allocations: 7.938 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.9719, allocations: 134.8 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.9719, allocations: 0 / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0002731/0.9721, allocations: 124.3 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.9722, allocations: 106.8 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.9723, allocations: 144 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.9724, allocations: 33.52 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.9724, allocations: 115.5 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.9725, allocations: 35.39 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.9725, allocations: 0 / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.9726, allocations: 326.3 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.9727, allocations: 51.19 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.9728, allocations: 89.23 kB / 1.019 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.636e-05/0.9729, allocations: 35.11 kB / 1.019 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9729, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002345/0.9731, allocations: 165.1 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9732, allocations: 8 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9732, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.9732, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.9735, allocations: 55.89 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.9735, allocations: 0 / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.9738, allocations: 55.89 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.9738, allocations: 19.86 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 9.17e-05/0.9739, allocations: 109.5 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001873/0.9741, allocations: 136.8 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.9741, allocations: 15.8 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.9743, allocations: 78.61 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9743, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9743, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9743, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.9745, allocations: 197.4 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9745, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.9747, allocations: 35.97 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.9747, allocations: 3.953 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.9747, allocations: 7.984 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9747, allocations: 3.938 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9747, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.9749, allocations: 188.9 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.975, allocations: 88.92 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.975, allocations: 3.938 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.9753, allocations: 47.95 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9754, allocations: 47.78 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.9754, allocations: 7.938 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.9755, allocations: 120.3 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9755, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002406/0.9758, allocations: 24 kB / 1.021 GB, free: 15.16 MB / 0.6511 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 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005708/0.9764, allocations: 0.8741 MB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.9766, allocations: 112 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9766, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.9767, allocations: 63.17 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.977, allocations: 27.75 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.9775, allocations: 223.3 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.9778, allocations: 0.7085 MB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.399e-05/0.9779, allocations: 21.33 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.978, allocations: 46.47 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.978, allocations: 384 / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/1, allocations: 3.124 MB / 1.026 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/1.001, allocations: 169.8 kB / 1.026 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.532, allocations: 0 / 1.026 GB, free: 9.824 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)