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.395/2.395, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001442/0.001442, allocations: 188.8 kB / 360.6 MB, free: 7.277 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.049/2.049, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001137/0.001137, allocations: 100.7 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.45e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8108, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2451/1.056, allocations: 137.8 MB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.056, allocations: 72.45 kB / 1.098 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02142/1.078, allocations: 4.308 MB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/1.078, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.078, allocations: 8 kB / 1.102 GB, free: 14.32 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.000958/1.079, allocations: 0.5053 MB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.079, allocations: 8.031 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/1.079, allocations: 36.92 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/1.079, allocations: 200 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/1.079, allocations: 7.984 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/1.079, allocations: 16 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002052/1.08, allocations: 48 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/1.08, allocations: 114 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.08, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/1.08, allocations: 7.953 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.08, allocations: 7.984 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/1.081, allocations: 0.6496 MB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/1.081, allocations: 128 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/1.082, allocations: 42.64 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/1.082, allocations: 8 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/1.082, allocations: 137.6 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/1.082, allocations: 2.719 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.00045/1.082, allocations: 141.4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/1.083, allocations: 106.8 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/1.083, allocations: 169.6 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/1.083, allocations: 33.64 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.083, allocations: 128.5 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/1.083, allocations: 35.45 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/1.083, allocations: 4 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.083, allocations: 326.8 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/1.084, allocations: 83.98 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/1.084, allocations: 149.4 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/1.084, allocations: 107.9 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.085, allocations: 3.953 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001152/1.086, allocations: 277.3 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/1.086, allocations: 68.5 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.086, allocations: 3.984 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.086, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/1.086, allocations: 28.11 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.086, allocations: 3.938 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/1.087, allocations: 107.8 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/1.087, allocations: 11.98 kB / 1.106 GB, free: 10.35 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.000164/1.087, allocations: 129.3 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003372/1.088, allocations: 129.4 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/1.088, allocations: 19.8 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/1.088, allocations: 75.23 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.088, allocations: 4 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.088, allocations: 2.938 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.088, allocations: 4 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/1.088, allocations: 219.3 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.088, allocations: 0 / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.088, allocations: 23.98 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.088, allocations: 0 / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/1.088, allocations: 0 / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.088, allocations: 4 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.088, allocations: 3.047 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/1.089, allocations: 202 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/1.089, allocations: 89.11 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/1.089, allocations: 7.984 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/1.089, allocations: 19.98 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.089, allocations: 35.92 kB / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/1.089, allocations: 11.94 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001591/1.09, allocations: 135.2 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.09, allocations: 1.688 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004975/1.09, allocations: 47.95 kB / 1.107 GB, free: 9.102 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.0008229/1.091, allocations: 0.8853 MB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007294/1.092, allocations: 304.2 kB / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.092, allocations: 0 / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/1.092, allocations: 59.92 kB / 1.108 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/1.092, allocations: 36.17 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/1.093, allocations: 248.6 kB / 1.108 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/1.094, allocations: 0.7243 MB / 1.109 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001387/1.094, allocations: 23.16 kB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.094, allocations: 51.42 kB / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of SimCode: time 1.312e-06/1.094, allocations: 0 / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/1.14, allocations: 4.224 MB / 1.113 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/1.14, allocations: 155.7 kB / 1.114 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.574, allocations: 0 / 1.114 GB, free: 2.352 MB / 0.7136 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)