Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.469/2.469, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001491/0.00149, allocations: 180.8 kB / 360.6 MB, free: 7.277 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.081/2.081, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001157/0.001156, allocations: 96.28 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.141e-05, allocations: 8 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8364/0.8365, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/1.123, allocations: 140.6 MB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.123, allocations: 76.45 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03218/1.156, allocations: 6.896 MB / 1.108 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/1.156, allocations: 0 / 1.108 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.36e-05/1.156, allocations: 4 kB / 1.108 GB, free: 8.902 MB / 0.7136 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.0008854/1.157, allocations: 498.5 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.157, allocations: 8.031 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.915e-05/1.157, allocations: 23.72 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/1.158, allocations: 330.3 kB / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/1.158, allocations: 8 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/1.158, allocations: 4 kB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001565/1.158, allocations: 43.92 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/1.158, allocations: 65.67 kB / 1.108 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.158, allocations: 0 / 1.108 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.158, allocations: 0 / 1.108 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.158, allocations: 7.562 kB / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/1.159, allocations: 421 kB / 1.109 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/1.159, allocations: 74.67 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/1.16, allocations: 24.98 kB / 1.109 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/1.16, allocations: 4 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/1.16, allocations: 78.59 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/1.16, allocations: 0 / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000364/1.16, allocations: 105.3 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.16, allocations: 51.41 kB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/1.161, allocations: 318.3 kB / 1.11 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/1.161, allocations: 33.7 kB / 1.11 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.161, allocations: 136 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/1.161, allocations: 23.73 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/1.161, allocations: 0 / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.161, allocations: 334.8 kB / 1.11 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.161, allocations: 67.97 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/1.162, allocations: 80.75 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/1.162, allocations: 76.83 kB / 1.11 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.162, allocations: 0 / 1.11 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006322/1.163, allocations: 214 kB / 1.11 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.163, allocations: 4 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.163, allocations: 0 / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.163, allocations: 4 kB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.163, allocations: 28.69 kB / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.163, allocations: 7.938 kB / 1.11 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/1.163, allocations: 19.92 kB / 1.111 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/1.163, allocations: 4 kB / 1.111 GB, free: 5.676 MB / 0.7136 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 () * 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.000119/1.163, allocations: 112.7 kB / 1.111 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002627/1.164, allocations: 105.4 kB / 1.111 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/1.164, allocations: 25.48 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/1.164, allocations: 119.3 kB / 1.111 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.164, allocations: 0 / 1.111 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.164, allocations: 4 kB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.164, allocations: 0 / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/1.165, allocations: 226.1 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/1.165, allocations: 0 / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/1.165, allocations: 8 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/1.165, allocations: 0 / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.165, allocations: 5.203 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.165, allocations: 0 / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.165, allocations: 3.953 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/1.165, allocations: 138.9 kB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/1.165, allocations: 100.9 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/1.165, allocations: 4.75 kB / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/1.165, allocations: 11.98 kB / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/1.165, allocations: 15.94 kB / 1.111 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/1.166, allocations: 4 kB / 1.111 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003555/1.166, allocations: 214 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.166, allocations: 4 kB / 1.112 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004602/1.166, allocations: 55.95 kB / 1.112 GB, free: 4.449 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: 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) * 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.00175/1.168, allocations: 0.9255 MB / 1.113 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003766/1.169, allocations: 111.9 kB / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.169, allocations: 0 / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/1.169, allocations: 28 kB / 1.113 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/1.169, allocations: 40.08 kB / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/1.17, allocations: 367.8 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/1.171, allocations: 0.76 MB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001762/1.171, allocations: 28.66 kB / 1.114 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.171, allocations: 67.41 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/1.171, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/1.221, allocations: 4.436 MB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.222, allocations: 187.6 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.83, allocations: 0 / 1.118 GB, free: 13.68 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)