Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.482/2.482, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001407/0.001407, allocations: 176.8 kB / 360.6 MB, free: 7.309 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.045/2.045, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001102/0.001101, allocations: 90.97 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.686e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8466/0.8466, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/1.088, allocations: 136.9 MB / 1.097 GB, free: 3.535 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.088, allocations: 60.67 kB / 1.097 GB, free: 3.477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004112/1.092, allocations: 0.9454 MB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/1.092, allocations: 0 / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.092, allocations: 0 / 1.098 GB, free: 2.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005658/1.093, allocations: 348.5 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.093, allocations: 9.719 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/1.093, allocations: 9.859 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.093, allocations: 177.5 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.093, allocations: 4.594 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/1.093, allocations: 0.6875 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001237/1.093, allocations: 24 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/1.093, allocations: 46.23 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.093, allocations: 4.656 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.093, allocations: 4 kB / 1.099 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.094, allocations: 0.5312 kB / 1.099 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/1.094, allocations: 263.2 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/1.094, allocations: 47.59 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/1.094, allocations: 20.88 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/1.094, allocations: 0.5 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.094, allocations: 39.81 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/1.094, allocations: 0 / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002324/1.095, allocations: 50.34 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.095, allocations: 56.41 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.095, allocations: 104.1 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.095, allocations: 26.42 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/1.095, allocations: 88.05 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/1.095, allocations: 8.672 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/1.095, allocations: 3.625 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.095, allocations: 318.8 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/1.095, allocations: 11.98 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/1.095, allocations: 12 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/1.095, allocations: 8 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.095, allocations: 0 / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001627/1.095, allocations: 61.53 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.095, allocations: 8 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.095, allocations: 3.938 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.096, allocations: 4.609 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/1.096, allocations: 13.39 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/1.096, allocations: 4 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/1.096, allocations: 4.906 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/1.096, allocations: 11.17 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.98e-05/1.096, allocations: 116.4 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001954/1.096, allocations: 53.69 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/1.096, allocations: 7.906 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/1.096, allocations: 8.344 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.096, allocations: 3.938 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.096, allocations: 0 / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/1.096, allocations: 0 / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/1.097, allocations: 162.1 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/1.097, allocations: 1.031 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/1.097, allocations: 11.98 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.097, allocations: 2 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.097, allocations: 4 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.097, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.097, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/1.097, allocations: 159.7 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/1.097, allocations: 88.11 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.097, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.097, allocations: 11.98 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/1.097, allocations: 11.98 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/1.097, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.128e-05/1.098, allocations: 86.33 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.244e-06/1.098, allocations: 4 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003169/1.098, allocations: 15.94 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005855/1.099, allocations: 0.689 MB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.099, allocations: 35.92 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.099, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/1.099, allocations: 23.94 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/1.099, allocations: 2.062 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/1.1, allocations: 115.9 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/1.1, allocations: 0.6846 MB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.775e-05/1.1, allocations: 8 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/1.1, allocations: 19.42 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.031e-06/1.1, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/1.137, allocations: 1.185 MB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.137, allocations: 155.9 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.394, allocations: 0 / 1.103 GB, free: 12.84 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)