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.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001041/0.001042, allocations: 181.1 kB / 371.8 MB, free: 10.25 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.742/1.742, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.001037/0.001037, allocations: 86.94 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005463, allocations: 17.25 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2946, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002559/0.2973, allocations: 1.591 MB / 0.981 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.299, allocations: 0.9415 MB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.2993, allocations: 4 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.2997, allocations: 91.64 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.3, allocations: 87.73 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.3004, allocations: 102.4 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3008, allocations: 131.7 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.301, allocations: 33.66 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3011, allocations: 79.62 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3013, allocations: 63.75 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3013, allocations: 4 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3015, allocations: 43.91 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.3016, allocations: 55.75 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.3017, allocations: 49.64 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.302, allocations: 215.8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.302, allocations: 4 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.302, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.302, allocations: 3.938 kB / 0.9829 GB, free: 24.05 MB / 0.6198 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.000984/0.303, allocations: 0.4943 MB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3031, allocations: 16.02 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.3031, allocations: 34.56 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3032, allocations: 31.67 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.3037, allocations: 294.4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3037, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3037, allocations: 12 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3039, allocations: 81.59 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.304, allocations: 0 / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.304, allocations: 8 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.304, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3041, allocations: 43.92 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.3048, allocations: 424.6 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.3051, allocations: 94.61 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.3051, allocations: 0 / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.3053, allocations: 75.44 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3053, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000349/0.3057, allocations: 133.6 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.3057, allocations: 55.41 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3061, allocations: 362.9 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3061, allocations: 29.7 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.3062, allocations: 140 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3062, allocations: 15.81 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.3063, allocations: 7.938 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.3063, allocations: 334.8 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3065, allocations: 55.97 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3066, allocations: 83.19 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.3067, allocations: 55.98 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3067, allocations: 0 / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003094/0.307, allocations: 191.9 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3071, allocations: 11.94 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3071, allocations: 0 / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3071, allocations: 0 / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3072, allocations: 27.92 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3072, allocations: 8.094 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3074, allocations: 19.89 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3074, allocations: 8 kB / 0.9859 GB, free: 20.72 MB / 0.6198 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.0001345/0.3075, allocations: 154.5 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3076, allocations: 23.77 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.3076, allocations: 25.73 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3076, allocations: 0 / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3077, allocations: 8 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3077, allocations: 0 / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.3078, allocations: 241.5 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3078, allocations: 0 / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.3079, allocations: 4 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3079, allocations: 3.984 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3079, allocations: 11.94 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3079, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3079, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3081, allocations: 132.9 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.3082, allocations: 104.8 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.3082, allocations: 4 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3083, allocations: 15.94 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3084, allocations: 15.92 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3084, allocations: 4 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001823/0.3086, allocations: 229.9 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3086, allocations: 4 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002529/0.3089, allocations: 35.91 kB / 0.9869 GB, free: 19.63 MB / 0.6198 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 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001278/0.3101, allocations: 0.9846 MB / 0.9878 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.3104, allocations: 111.9 kB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3104, allocations: 0 / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.3105, allocations: 27.94 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3108, allocations: 54.67 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.3117, allocations: 0.7899 MB / 0.9888 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.312, allocations: 0.7479 MB / 0.9895 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3121, allocations: 45.61 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3122, allocations: 63.36 kB / 0.9896 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.3123, allocations: 4 kB / 0.9896 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.3292, allocations: 4.769 MB / 0.9943 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.3295, allocations: 248.2 kB / 0.9945 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.217, allocations: 0 / 0.9945 GB, free: 11.89 MB / 0.6198 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)