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.798/1.798, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001142/0.001142, allocations: 176.8 kB / 361.4 MB, free: 6.863 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.802/1.802, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008833/0.000883, allocations: 92.75 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.541e-05, allocations: 12 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8669, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/1.092, allocations: 140.8 MB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.093, allocations: 73.55 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02048/1.113, allocations: 6.889 MB / 1.109 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.482e-06/1.113, allocations: 0 / 1.109 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.129e-05/1.113, allocations: 7.984 kB / 1.109 GB, free: 8.055 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.0008392/1.114, allocations: 493.8 kB / 1.109 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.114, allocations: 12.97 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/1.114, allocations: 20.75 kB / 1.109 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/1.115, allocations: 342.2 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/1.115, allocations: 0 / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/1.115, allocations: 4 kB / 1.11 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001188/1.115, allocations: 39.92 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/1.115, allocations: 74.3 kB / 1.11 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.115, allocations: 0 / 1.11 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.115, allocations: 0 / 1.11 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.115, allocations: 0 / 1.11 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/1.116, allocations: 418.2 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/1.117, allocations: 74.67 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/1.117, allocations: 24.98 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/1.117, allocations: 0 / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/1.117, allocations: 77.45 kB / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 5.791e-06/1.117, allocations: 3.984 kB / 1.11 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003151/1.117, allocations: 119 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/1.117, allocations: 51.41 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/1.118, allocations: 318.3 kB / 1.111 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/1.118, allocations: 25.7 kB / 1.111 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.118, allocations: 136 kB / 1.111 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/1.118, allocations: 23.75 kB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.118, allocations: 3 kB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002244/1.118, allocations: 338.8 kB / 1.111 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/1.118, allocations: 63.97 kB / 1.111 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/1.118, allocations: 83.66 kB / 1.111 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/1.119, allocations: 67.95 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.119, allocations: 0 / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004342/1.119, allocations: 223.1 kB / 1.112 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.119, allocations: 8 kB / 1.112 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.119, allocations: 0 / 1.112 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.119, allocations: 0 / 1.112 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/1.119, allocations: 23.98 kB / 1.112 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.119, allocations: 7.891 kB / 1.112 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/1.119, allocations: 19.83 kB / 1.112 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/1.119, allocations: 8 kB / 1.112 GB, free: 4.816 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.0001028/1.12, allocations: 113 kB / 1.112 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001749/1.12, allocations: 101.4 kB / 1.112 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/1.12, allocations: 15.81 kB / 1.112 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/1.12, allocations: 125.5 kB / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.12, allocations: 3.953 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.12, allocations: 4 kB / 1.112 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.12, allocations: 0 / 1.112 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/1.12, allocations: 218.1 kB / 1.112 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.12, allocations: 4 kB / 1.112 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/1.12, allocations: 5.125 kB / 1.112 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.12, allocations: 0 / 1.112 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.12, allocations: 3.984 kB / 1.112 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.12, allocations: 4 kB / 1.112 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.12, allocations: 0 / 1.112 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/1.121, allocations: 140.7 kB / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/1.121, allocations: 96.92 kB / 1.113 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/1.121, allocations: 11.98 kB / 1.113 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/1.121, allocations: 10.06 kB / 1.113 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/1.121, allocations: 13.09 kB / 1.113 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/1.121, allocations: 4 kB / 1.113 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002654/1.121, allocations: 221.9 kB / 1.113 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.121, allocations: 0 / 1.113 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000301/1.122, allocations: 59.95 kB / 1.113 GB, free: 3.594 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.001412/1.123, allocations: 0.9292 MB / 1.114 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002192/1.123, allocations: 101 kB / 1.114 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.123, allocations: 5.562 kB / 1.114 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/1.123, allocations: 28 kB / 1.114 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/1.124, allocations: 50.02 kB / 1.114 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/1.124, allocations: 358.7 kB / 1.114 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/1.125, allocations: 0.7555 MB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001237/1.125, allocations: 32.92 kB / 1.115 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/1.125, allocations: 71.41 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.125, allocations: 0 / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/1.153, allocations: 4.424 MB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/1.153, allocations: 202 kB / 1.12 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/3.179, allocations: 0 / 1.12 GB, free: 12.75 MB / 0.7292 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)