Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001174/0.001174, allocations: 185 kB / 371.8 MB, free: 10.28 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.541/1.541, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008534/0.0008537, allocations: 94.88 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 17.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2396, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8228/1.062, allocations: 141.5 MB / 1.118 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.063, allocations: 77.8 kB / 1.118 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01813/1.081, allocations: 6.973 MB / 1.125 GB, free: 31.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.996e-06/1.081, allocations: 0 / 1.125 GB, free: 31.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.279e-05/1.081, allocations: 7.812 kB / 1.125 GB, free: 31.71 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001129/1.082, allocations: 0.5399 MB / 1.125 GB, free: 31.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/1.082, allocations: 11.64 kB / 1.125 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.064e-05/1.082, allocations: 40.86 kB / 1.125 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/1.082, allocations: 19.38 kB / 1.125 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/1.083, allocations: 335.5 kB / 1.126 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/1.083, allocations: 3.938 kB / 1.126 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/1.083, allocations: 11 kB / 1.126 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/1.084, allocations: 77.84 kB / 1.126 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.084, allocations: 0 / 1.126 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.084, allocations: 0 / 1.126 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.084, allocations: 0 / 1.126 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/1.084, allocations: 48.97 kB / 1.126 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/1.085, allocations: 440.8 kB / 1.126 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/1.085, allocations: 86.86 kB / 1.126 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/1.085, allocations: 0 / 1.126 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/1.085, allocations: 84.62 kB / 1.126 GB, free: 30.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/1.085, allocations: 0 / 1.126 GB, free: 30.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003907/1.086, allocations: 138.7 kB / 1.126 GB, free: 30.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.086, allocations: 54.22 kB / 1.126 GB, free: 30.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/1.086, allocations: 337.2 kB / 1.127 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/1.086, allocations: 33.48 kB / 1.127 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.086, allocations: 137.2 kB / 1.127 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/1.086, allocations: 15.06 kB / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/1.086, allocations: 3.375 kB / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.086, allocations: 336.3 kB / 1.127 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/1.087, allocations: 73.48 kB / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.087, allocations: 94.05 kB / 1.127 GB, free: 29.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.087, allocations: 67.88 kB / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.087, allocations: 0 / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004176/1.087, allocations: 226 kB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.087, allocations: 3.844 kB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.087, allocations: 0 / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.087, allocations: 8.016 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/1.088, allocations: 22.48 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.088, allocations: 0 / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/1.088, allocations: 22.36 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/1.088, allocations: 10.81 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002006/1.088, allocations: 156.9 kB / 1.128 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/1.088, allocations: 19.41 kB / 1.128 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/1.088, allocations: 138.1 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.088, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.088, allocations: 3.953 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.088, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/1.089, allocations: 243.6 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.089, allocations: 3.844 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/1.089, allocations: 7.844 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.089, allocations: 3.047 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.089, allocations: 0 / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.089, allocations: 0 / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.089, allocations: 11.94 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/1.089, allocations: 143.2 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.089, allocations: 104.2 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/1.089, allocations: 2.766 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/1.089, allocations: 14.58 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/1.089, allocations: 17.34 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.089, allocations: 0 / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002693/1.09, allocations: 240.6 kB / 1.129 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 1.129 GB, free: 29.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003165/1.09, allocations: 55.84 kB / 1.129 GB, free: 29.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001713/1.092, allocations: 1.001 MB / 1.13 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003211/1.092, allocations: 107.8 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.092, allocations: 0 / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/1.092, allocations: 35.42 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/1.092, allocations: 51.75 kB / 1.13 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/1.094, allocations: 0.8339 MB / 1.131 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/1.094, allocations: 0.7564 MB / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001251/1.094, allocations: 35.12 kB / 1.132 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/1.094, allocations: 63.56 kB / 1.132 GB, free: 27.08 MB / 0.698 GB Notification: Performance of SimCode: time 5.19e-06/1.094, allocations: 3.875 kB / 1.132 GB, free: 27.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/1.116, allocations: 4.907 MB / 1.136 GB, free: 24.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.116, allocations: 245.2 kB / 1.137 GB, free: 24.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/3.028, allocations: 2.25 kB / 1.137 GB, free: 24.5 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)