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.428/1.428, allocations: 252 MB / 267 MB, free: 10.97 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.001104/0.001105, allocations: 168.1 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007924/0.0007925, allocations: 90.34 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005135, allocations: 10.62 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001486/0.2401, allocations: 1.094 MB / 0.9014 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.2404, allocations: 100.7 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.2404, allocations: 0 / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2404, allocations: 3.938 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.2405, allocations: 3.938 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.816e-05/0.2406, allocations: 4 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.2406, allocations: 19.92 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.686e-05/0.2407, allocations: 11.98 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.2408, allocations: 11.94 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.2408, allocations: 7.984 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2409, allocations: 0 / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.2409, allocations: 0 / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.2409, allocations: 4 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.2409, allocations: 33.64 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.057e-05/0.241, allocations: 15.95 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.241, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.241, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.241, allocations: 4 kB / 0.9016 GB, free: 62.43 MB / 0.6042 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.0004333/0.2414, allocations: 343.4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2415, allocations: 8.031 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.2415, allocations: 34.56 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.2416, allocations: 3.906 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.415e-05/0.2417, allocations: 171.2 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2417, allocations: 12 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2417, allocations: 0 / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2419, allocations: 53.67 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2419, allocations: 3.938 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.2419, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2419, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.2421, allocations: 47.95 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.2424, allocations: 252.9 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2426, allocations: 46.59 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.2426, allocations: 28.91 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.2427, allocations: 0 / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2427, allocations: 34.5 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2427, allocations: 4 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.243, allocations: 89.64 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2431, allocations: 59.53 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.2431, allocations: 105.8 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2432, allocations: 29.7 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.2432, allocations: 80.14 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.2432, allocations: 7.906 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.2432, allocations: 0 / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.2433, allocations: 318.8 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.2434, allocations: 23.97 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.2435, allocations: 27.92 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.2436, allocations: 23.92 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2436, allocations: 0 / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.2437, allocations: 77.72 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2438, allocations: 4 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2438, allocations: 3.984 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2438, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.2439, allocations: 16.02 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2439, allocations: 0 / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.244, allocations: 8 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.244, allocations: 3.953 kB / 0.9035 GB, free: 60.32 MB / 0.6042 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 5.834e-05/0.2441, allocations: 117.8 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.2441, allocations: 7.844 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.2441, allocations: 3.125 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2441, allocations: 8 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2441, allocations: 0 / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2441, allocations: 0 / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2442, allocations: 157.6 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2443, allocations: 7.922 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.2443, allocations: 12.25 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2443, allocations: 0 / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2443, allocations: 4 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2443, allocations: 0 / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2443, allocations: 0 / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.2446, allocations: 175.5 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.2446, allocations: 77.11 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2446, allocations: 8.016 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.2447, allocations: 8 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2447, allocations: 7.984 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.2447, allocations: 4 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.973e-05/0.2448, allocations: 79.28 kB / 0.9041 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2448, allocations: 0 / 0.9041 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001875/0.245, allocations: 4 kB / 0.9041 GB, free: 59.55 MB / 0.6042 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.000426/0.2454, allocations: 0.7123 MB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2456, allocations: 55.98 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2456, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.2457, allocations: 27.98 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.246, allocations: 5.266 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.2463, allocations: 142.3 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2465, allocations: 0.6809 MB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.2465, allocations: 0 / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.2465, allocations: 7.438 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2465, allocations: 4.062 kB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.2581, allocations: 1.077 MB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.2583, allocations: 222.3 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.808, allocations: 0 / 0.907 GB, free: 56.68 MB / 0.6042 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)