Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001004/0.001004, allocations: 185 kB / 377.1 MB, free: 1.531 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.591/1.591, allocations: 205.4 MB / 0.6366 GB, free: 9.594 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.001111/0.001111, allocations: 92.23 kB / 0.7509 GB, free: 62.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 16 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 116.3 MB / 0.9884 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8357/1.122, allocations: 138.8 MB / 1.124 GB, free: 35.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.123, allocations: 70.45 kB / 1.124 GB, free: 35.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002613/1.125, allocations: 0.9355 MB / 1.125 GB, free: 35.08 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.976e-06/1.125, allocations: 0 / 1.125 GB, free: 35.08 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.685e-05/1.125, allocations: 4.562 kB / 1.125 GB, free: 35.07 MB / 0.7292 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.0004072/1.126, allocations: 362 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.126, allocations: 17.77 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/1.126, allocations: 30.56 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/1.126, allocations: 2.844 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.126, allocations: 167.8 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.126, allocations: 13.16 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/1.126, allocations: 1.203 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/1.126, allocations: 79.69 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/1.126, allocations: 0 / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.126, allocations: 0 / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.126, allocations: 2.562 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/1.127, allocations: 66.02 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/1.127, allocations: 279.3 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/1.127, allocations: 76.83 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/1.127, allocations: 0.6094 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/1.127, allocations: 34.56 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.127, allocations: 0 / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003966/1.128, allocations: 126.9 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/1.128, allocations: 55.34 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/1.128, allocations: 101.3 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/1.128, allocations: 25.7 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/1.128, allocations: 96.08 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/1.128, allocations: 15.75 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.128, allocations: 0 / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/1.128, allocations: 318.4 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/1.128, allocations: 30.84 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/1.128, allocations: 31.03 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/1.128, allocations: 24.5 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.128, allocations: 0 / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002177/1.128, allocations: 100.3 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.128, allocations: 4 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.128, allocations: 0 / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.128, allocations: 3.328 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.129, allocations: 20.02 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/1.129, allocations: 0.7031 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/1.129, allocations: 12.59 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/1.129, allocations: 0 / 1.127 GB, free: 32.96 MB / 0.7292 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 () * Number of clocked 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 6.246e-05/1.129, allocations: 121.8 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/1.129, allocations: 4.469 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/1.129, allocations: 7.906 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.129, allocations: 4.844 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.129, allocations: 0 / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.129, allocations: 3.562 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/1.129, allocations: 176.8 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.129, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/1.129, allocations: 20.41 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.129, allocations: 0 / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/1.129, allocations: 0.5 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.129, allocations: 0 / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.129, allocations: 0 / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/1.129, allocations: 201.3 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/1.129, allocations: 86.14 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/1.129, allocations: 0 / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/1.13, allocations: 15.56 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/1.13, allocations: 8.078 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/1.13, allocations: 4 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.206e-05/1.13, allocations: 88.28 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.13, allocations: 4 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002106/1.13, allocations: 8 kB / 1.128 GB, free: 32.18 MB / 0.7292 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 () * Number of clocked 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.0004742/1.13, allocations: 0.7368 MB / 1.128 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002294/1.131, allocations: 61.69 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.131, allocations: 0 / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/1.131, allocations: 42.8 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/1.131, allocations: 8.641 kB / 1.128 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/1.132, allocations: 490.8 kB / 1.129 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/1.132, allocations: 0.6919 MB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.212e-05/1.132, allocations: 0 / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/1.132, allocations: 18.81 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.132, allocations: 0 / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/1.144, allocations: 1.503 MB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.144, allocations: 193.7 kB / 1.131 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.782, allocations: 0 / 1.131 GB, free: 29.12 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)