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.81/1.81, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001043/0.001043, allocations: 179.8 kB / 371.6 MB, free: 3.371 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.711/1.711, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0008978/0.0008979, allocations: 93.28 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.262e-05/5.264e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3006, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9137/1.214, allocations: 142.4 MB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.215, allocations: 77.47 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01732/1.232, allocations: 6.942 MB / 1.126 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.737e-06/1.232, allocations: 0 / 1.126 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.077e-05/1.232, allocations: 11.28 kB / 1.126 GB, free: 38.34 MB / 0.7448 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.000688/1.233, allocations: 491.4 kB / 1.126 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.233, allocations: 8.031 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/1.233, allocations: 42.67 kB / 1.126 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.096e-05/1.233, allocations: 25.44 kB / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/1.234, allocations: 331.1 kB / 1.127 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/1.234, allocations: 7.875 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/1.234, allocations: 8 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/1.234, allocations: 78.17 kB / 1.127 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.234, allocations: 0 / 1.127 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.234, allocations: 0 / 1.127 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.234, allocations: 4 kB / 1.127 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/1.234, allocations: 37.69 kB / 1.127 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/1.235, allocations: 450.5 kB / 1.127 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/1.235, allocations: 79.7 kB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/1.235, allocations: 34.58 kB / 1.127 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/1.235, allocations: 3.938 kB / 1.127 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/1.235, allocations: 76.31 kB / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/1.235, allocations: 0 / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002834/1.236, allocations: 103.8 kB / 1.128 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.236, allocations: 51.41 kB / 1.128 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/1.236, allocations: 330.8 kB / 1.128 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/1.236, allocations: 32.95 kB / 1.128 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/1.236, allocations: 140.2 kB / 1.128 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.236, allocations: 22.8 kB / 1.128 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/1.236, allocations: 3 kB / 1.128 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.69e-05/1.236, allocations: 336.3 kB / 1.128 GB, free: 36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/1.236, allocations: 70.78 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/1.236, allocations: 86.16 kB / 1.129 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/1.237, allocations: 69.72 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.237, allocations: 0 / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002767/1.237, allocations: 219.5 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.237, allocations: 4 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.237, allocations: 0.75 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.237, allocations: 7.953 kB / 1.129 GB, free: 35.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/1.237, allocations: 19.55 kB / 1.129 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.237, allocations: 0 / 1.129 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.237, allocations: 30.03 kB / 1.129 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/1.237, allocations: 8.938 kB / 1.129 GB, free: 35.64 MB / 0.7448 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 7.82e-05/1.237, allocations: 116.6 kB / 1.129 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/1.237, allocations: 23 kB / 1.129 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/1.238, allocations: 122.2 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/1.238, allocations: 4.516 kB / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.238, allocations: 0 / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.238, allocations: 0 / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/1.238, allocations: 249.5 kB / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.238, allocations: 0.875 kB / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/1.238, allocations: 15.27 kB / 1.129 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.238, allocations: 0 / 1.129 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.238, allocations: 3 kB / 1.129 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.238, allocations: 0 / 1.129 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.238, allocations: 4.469 kB / 1.129 GB, free: 35.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/1.238, allocations: 138.2 kB / 1.13 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/1.238, allocations: 101.9 kB / 1.13 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/1.238, allocations: 11.33 kB / 1.13 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/1.238, allocations: 11.28 kB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/1.238, allocations: 14.14 kB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/1.238, allocations: 7.328 kB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001932/1.239, allocations: 228.2 kB / 1.13 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.239, allocations: 0 / 1.13 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002608/1.239, allocations: 56.14 kB / 1.13 GB, free: 34.69 MB / 0.7448 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.001263/1.24, allocations: 0.957 MB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001984/1.24, allocations: 109.7 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.24, allocations: 0 / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/1.24, allocations: 33.25 kB / 1.131 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/1.241, allocations: 58.58 kB / 1.131 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/1.241, allocations: 361.1 kB / 1.131 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/1.242, allocations: 0.7522 MB / 1.132 GB, free: 32.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.79e-05/1.242, allocations: 35.22 kB / 1.132 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/1.242, allocations: 66.45 kB / 1.132 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.242, allocations: 0 / 1.132 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/1.26, allocations: 4.932 MB / 1.137 GB, free: 29.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.26, allocations: 211.3 kB / 1.137 GB, free: 29.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/3.127, allocations: 0 / 1.137 GB, free: 29.58 MB / 0.7448 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)