Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 180.9 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009487/0.0009489, allocations: 86.41 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 13.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.4915, allocations: 131.4 MB / 1.028 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4918, allocations: 67.95 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001668/0.4935, allocations: 0.6298 MB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4935, allocations: 0 / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4935, allocations: 0 / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004298/0.494, allocations: 359.2 kB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.494, allocations: 11.97 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.4941, allocations: 34.56 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.4941, allocations: 7.984 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4942, allocations: 166.9 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4943, allocations: 3.938 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.4943, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.4945, allocations: 57.67 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4945, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4945, allocations: 3.938 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4945, allocations: 3.984 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.4947, allocations: 39.97 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.4951, allocations: 272.9 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.4953, allocations: 38.56 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.4953, allocations: 4 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.4953, allocations: 38.56 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4953, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003404/0.4957, allocations: 97.73 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4957, allocations: 51.41 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.4958, allocations: 96.98 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4958, allocations: 29.7 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.4959, allocations: 84.08 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.4959, allocations: 3.906 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.4959, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4961, allocations: 326.8 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.4961, allocations: 19.97 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.4962, allocations: 23.98 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.4963, allocations: 20.05 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4963, allocations: 3.938 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.4965, allocations: 73.66 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4965, allocations: 4 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4966, allocations: 8.031 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4966, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.4967, allocations: 7.984 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4967, allocations: 4 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.4968, allocations: 8 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4968, allocations: 7.922 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.87e-05/0.4968, allocations: 117.8 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.4969, allocations: 7.906 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.4969, allocations: 3.125 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.4969, allocations: 0 / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4969, allocations: 0 / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4969, allocations: 0 / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4971, allocations: 161.6 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4971, allocations: 4 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.4972, allocations: 8 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4972, allocations: 11.94 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4972, allocations: 4.188 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4972, allocations: 4 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4972, allocations: 3.984 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4975, allocations: 167.5 kB / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.4975, allocations: 81.09 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.4975, allocations: 4 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.4976, allocations: 8 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.4977, allocations: 7.984 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.4977, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.4977, allocations: 83.31 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4977, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002023/0.498, allocations: 4 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000587/0.4985, allocations: 0.7124 MB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.4988, allocations: 44.61 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4988, allocations: 8.094 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.4989, allocations: 19.98 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.4991, allocations: 5.719 kB / 1.032 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.4995, allocations: 150.1 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4998, allocations: 0.6888 MB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.4998, allocations: 0 / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.4999, allocations: 9.812 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/0.4999, allocations: 0 / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.5107, allocations: 1.062 MB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.5109, allocations: 204.4 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.076, allocations: 1.406 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)