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.541/1.541, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 178.5 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5775 GB, free: 20.16 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.0008383/0.0008383, allocations: 96.67 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 15.33 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2614, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.446, allocations: 132.1 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4463, allocations: 75.95 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006865/0.4532, allocations: 2.141 MB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4532, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4532, allocations: 4 kB / 1.031 GB, free: 9.273 MB / 0.6823 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.0009816/0.4542, allocations: 0.4998 MB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4543, allocations: 8.031 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.4544, allocations: 50.55 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.4544, allocations: 11.91 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.4546, allocations: 191 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4546, allocations: 4 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4547, allocations: 12 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.4552, allocations: 184.1 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4552, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.4552, allocations: 7.953 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4552, allocations: 8 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.4559, allocations: 171.8 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.457, allocations: 0.6023 MB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.4576, allocations: 219.8 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.4577, allocations: 8.078 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.4582, allocations: 198.5 kB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.4582, allocations: 0 / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.00105/0.4593, allocations: 333.3 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.4593, allocations: 110.8 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4595, allocations: 157.1 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.4596, allocations: 33.7 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.4597, allocations: 112.4 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.4597, allocations: 39.45 kB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.4597, allocations: 11.94 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4599, allocations: 322.8 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4602, allocations: 107.9 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.4606, allocations: 160.5 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.4609, allocations: 93.72 kB / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4609, allocations: 0 / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007159/0.4617, allocations: 285.2 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4617, allocations: 4 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4617, allocations: 240 / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4617, allocations: 11.98 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.462, allocations: 43.91 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.462, allocations: 4 kB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.4623, allocations: 63.94 kB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.4623, allocations: 12.55 kB / 1.035 GB, free: 4.949 MB / 0.6823 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 () * Number of clocked 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 0.0001393/0.4625, allocations: 136.2 kB / 1.035 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.4625, allocations: 15.77 kB / 1.035 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.4628, allocations: 114.6 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4629, allocations: 4 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4629, allocations: 0 / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4629, allocations: 0 / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.4631, allocations: 237.6 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4631, allocations: 4 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4633, allocations: 35.91 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4633, allocations: 7.953 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4634, allocations: 3.984 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4634, allocations: 4 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4634, allocations: 0 / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.4641, allocations: 301.9 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.4642, allocations: 100.8 kB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.4642, allocations: 4 kB / 1.036 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.4645, allocations: 51.89 kB / 1.036 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4646, allocations: 47.92 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4647, allocations: 7.984 kB / 1.036 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.149e-05/0.4648, allocations: 120.9 kB / 1.036 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4648, allocations: 0 / 1.036 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002622/0.465, allocations: 32 kB / 1.036 GB, free: 3.633 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001142/0.4662, allocations: 0.9875 MB / 1.037 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007203/0.4669, allocations: 239.8 kB / 1.038 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4669, allocations: 0 / 1.038 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.4673, allocations: 123.9 kB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.4676, allocations: 19.94 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.4702, allocations: 1.375 MB / 1.039 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4706, allocations: 0.7243 MB / 1.04 GB, free: 44 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.4707, allocations: 13.55 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.4709, allocations: 47.47 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/0.4709, allocations: 0 / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.487, allocations: 3.558 MB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.4873, allocations: 206.3 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.118, allocations: 0 / 1.044 GB, free: 12.35 MB / 0.698 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)