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.618/2.618, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001555/0.001555, allocations: 182.8 kB / 370.8 MB, free: 10.86 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.284/2.284, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.00156/0.00156, allocations: 90.86 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 14.53 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2571, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.227, allocations: 141.4 MB / 1.116 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.227, allocations: 78.06 kB / 1.116 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03008/1.257, allocations: 6.964 MB / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/1.257, allocations: 3.938 kB / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.287e-05/1.257, allocations: 3.906 kB / 1.123 GB, free: 30.87 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.001157/1.259, allocations: 0.5451 MB / 1.124 GB, free: 30.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.259, allocations: 11.7 kB / 1.124 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/1.259, allocations: 37.28 kB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/1.259, allocations: 25.55 kB / 1.124 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/1.26, allocations: 329.1 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.26, allocations: 6.938 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/1.26, allocations: 11.75 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/1.26, allocations: 82.11 kB / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.26, allocations: 0 / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.26, allocations: 0 / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/1.26, allocations: 3.812 kB / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/1.26, allocations: 43.17 kB / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.261, allocations: 442.7 kB / 1.125 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/1.262, allocations: 88.14 kB / 1.125 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/1.262, allocations: 3.938 kB / 1.125 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/1.262, allocations: 88.56 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/1.262, allocations: 0 / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005277/1.262, allocations: 134.2 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.262, allocations: 54.16 kB / 1.125 GB, free: 29.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/1.263, allocations: 339.3 kB / 1.125 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/1.263, allocations: 29.52 kB / 1.125 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.263, allocations: 141.9 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/1.263, allocations: 18.89 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/1.263, allocations: 3.312 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.263, allocations: 332.6 kB / 1.126 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.264, allocations: 71.36 kB / 1.126 GB, free: 29.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/1.264, allocations: 93.91 kB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.264, allocations: 73.95 kB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.264, allocations: 3.234 kB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005665/1.265, allocations: 213.9 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.265, allocations: 10.72 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.265, allocations: 3.953 kB / 1.126 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.265, allocations: 0 / 1.126 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/1.265, allocations: 24.11 kB / 1.126 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.265, allocations: 0 / 1.126 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/1.265, allocations: 24.23 kB / 1.126 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/1.265, allocations: 6.594 kB / 1.126 GB, free: 28.96 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.0002282/1.266, allocations: 158.6 kB / 1.127 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/1.266, allocations: 19.5 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/1.266, allocations: 128.5 kB / 1.127 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.266, allocations: 7.859 kB / 1.127 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.266, allocations: 0 / 1.127 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.266, allocations: 0 / 1.127 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/1.266, allocations: 246.3 kB / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/1.266, allocations: 0 / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/1.266, allocations: 10.36 kB / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.266, allocations: 3.938 kB / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.266, allocations: 0 / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.266, allocations: 0 / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.266, allocations: 3.953 kB / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/1.267, allocations: 143.6 kB / 1.127 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.267, allocations: 110.9 kB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/1.267, allocations: 0 / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/1.267, allocations: 14.33 kB / 1.127 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/1.268, allocations: 17.06 kB / 1.127 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.268, allocations: 2.531 kB / 1.127 GB, free: 28.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003637/1.268, allocations: 236.2 kB / 1.127 GB, free: 28.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.268, allocations: 7.75 kB / 1.127 GB, free: 28.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004818/1.268, allocations: 50.19 kB / 1.128 GB, free: 28.3 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.001945/1.27, allocations: 1.003 MB / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004508/1.271, allocations: 110.4 kB / 1.129 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.271, allocations: 0 / 1.129 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/1.271, allocations: 43.73 kB / 1.129 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/1.272, allocations: 43.33 kB / 1.129 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.273, allocations: 0.8389 MB / 1.129 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/1.274, allocations: 0.7484 MB / 1.13 GB, free: 26.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000183/1.274, allocations: 31.75 kB / 1.13 GB, free: 26.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.274, allocations: 69.88 kB / 1.13 GB, free: 26.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/1.274, allocations: 0 / 1.13 GB, free: 26.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.306, allocations: 4.907 MB / 1.135 GB, free: 24.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/1.306, allocations: 238.5 kB / 1.135 GB, free: 24.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.901, allocations: 4 kB / 1.135 GB, free: 24.62 MB / 0.698 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)