Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.00139/0.00139, allocations: 185 kB / 377.1 MB, free: 1.5 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.64/1.64, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.001232/0.001232, allocations: 84.47 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006011/0.000601, allocations: 8 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3058, allocations: 116.3 MB / 0.9884 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8185/1.124, allocations: 142.5 MB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.125, allocations: 74.64 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01811/1.143, allocations: 6.972 MB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.875e-06/1.143, allocations: 224 / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.062e-05/1.143, allocations: 7.938 kB / 1.134 GB, free: 27.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007762/1.144, allocations: 0.5477 MB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.144, allocations: 12.02 kB / 1.135 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/1.144, allocations: 39.73 kB / 1.135 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/1.144, allocations: 22.48 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/1.144, allocations: 325.2 kB / 1.135 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/1.144, allocations: 8.234 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/1.144, allocations: 12 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.145, allocations: 82.72 kB / 1.136 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.145, allocations: 0 / 1.136 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/1.145, allocations: 0.6562 kB / 1.136 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.145, allocations: 0.5625 kB / 1.136 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/1.145, allocations: 46.42 kB / 1.136 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/1.146, allocations: 444.8 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.146, allocations: 83.05 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/1.146, allocations: 8.75 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/1.146, allocations: 78.97 kB / 1.136 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/1.146, allocations: 0.5625 kB / 1.136 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003499/1.146, allocations: 134.4 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/1.146, allocations: 51.41 kB / 1.136 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/1.147, allocations: 335.1 kB / 1.137 GB, free: 25.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/1.147, allocations: 34.45 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/1.147, allocations: 143.3 kB / 1.137 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/1.147, allocations: 18.3 kB / 1.137 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/1.147, allocations: 3.938 kB / 1.137 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/1.147, allocations: 338.9 kB / 1.137 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/1.147, allocations: 64.91 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/1.147, allocations: 96.33 kB / 1.137 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.147, allocations: 73.66 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.147, allocations: 0.6562 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000322/1.148, allocations: 216.8 kB / 1.138 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.148, allocations: 4 kB / 1.138 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.148, allocations: 1.438 kB / 1.138 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.148, allocations: 3.953 kB / 1.138 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.148, allocations: 27.91 kB / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.148, allocations: 0 / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.148, allocations: 28.86 kB / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/1.148, allocations: 5.188 kB / 1.138 GB, free: 24.66 MB / 0.7292 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.0001265/1.148, allocations: 156.3 kB / 1.138 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/1.148, allocations: 24.28 kB / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/1.149, allocations: 127 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.149, allocations: 0 / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.149, allocations: 4.516 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.149, allocations: 0.5625 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/1.149, allocations: 253.8 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.149, allocations: 0.9375 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/1.149, allocations: 8 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.149, allocations: 0 / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.149, allocations: 5 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.149, allocations: 0 / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.149, allocations: 3.938 kB / 1.138 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/1.149, allocations: 143.9 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/1.149, allocations: 106.4 kB / 1.138 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/1.149, allocations: 0.5156 kB / 1.138 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/1.149, allocations: 11.61 kB / 1.138 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/1.149, allocations: 19.36 kB / 1.138 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/1.149, allocations: 2.203 kB / 1.138 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002134/1.15, allocations: 237 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.15, allocations: 0 / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002835/1.15, allocations: 53.5 kB / 1.139 GB, free: 23.54 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: 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.00138/1.151, allocations: 1.005 MB / 1.14 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002727/1.152, allocations: 111.2 kB / 1.14 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.152, allocations: 0 / 1.14 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/1.152, allocations: 36.14 kB / 1.14 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/1.152, allocations: 55.2 kB / 1.14 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/1.153, allocations: 0.8438 MB / 1.141 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/1.153, allocations: 0.7514 MB / 1.141 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001095/1.153, allocations: 31.73 kB / 1.142 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.153, allocations: 74.83 kB / 1.142 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.153, allocations: 0 / 1.142 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/1.171, allocations: 4.88 MB / 1.146 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.171, allocations: 230.3 kB / 1.147 GB, free: 17.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/3.128, allocations: 4 kB / 1.147 GB, free: 17.77 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)