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.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001172/0.001172, allocations: 178.7 kB / 326.5 MB, free: 2.254 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.031/2.031, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009467/0.0009471, allocations: 96.44 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 13.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2788, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001584/0.2805, allocations: 1.105 MB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003051/0.2808, allocations: 97.98 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2808, allocations: 0 / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.2809, allocations: 3.938 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.2809, allocations: 4 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.944e-05/0.281, allocations: 0 / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.2811, allocations: 15.97 kB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2812, allocations: 8 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.2813, allocations: 11.92 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.2813, allocations: 12 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.2813, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.2814, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.2814, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.2814, allocations: 37.62 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.363e-05/0.2815, allocations: 15.97 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2815, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.537e-06/0.2815, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2815, allocations: 3.938 kB / 0.9014 GB, free: 62.52 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.00048/0.282, allocations: 339.4 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2821, allocations: 8.031 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.2821, allocations: 30.56 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.2821, allocations: 11.84 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2823, allocations: 175.2 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2823, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2823, allocations: 4 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.2825, allocations: 57.67 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2825, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2825, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2825, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2827, allocations: 47.91 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.283, allocations: 256.9 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2832, allocations: 42.56 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2832, allocations: 4 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2832, allocations: 34.55 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2832, allocations: 0 / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003265/0.2835, allocations: 101.8 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.2836, allocations: 51.41 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.2837, allocations: 101.8 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2837, allocations: 25.7 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.2837, allocations: 84.14 kB / 0.9028 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2837, allocations: 7.906 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.2837, allocations: 0 / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.2838, allocations: 322.8 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.2839, allocations: 23.98 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.284, allocations: 15.98 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.284, allocations: 28.05 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.284, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001693/0.2842, allocations: 77.59 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2842, allocations: 4 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2842, allocations: 4.031 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2843, allocations: 0 / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.2844, allocations: 11.98 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2844, allocations: 4.234 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.2844, allocations: 11.98 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2844, allocations: 8 kB / 0.9033 GB, free: 60.45 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 6.771e-05/0.2845, allocations: 113.8 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.2845, allocations: 7.844 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.2846, allocations: 11.12 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2846, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2846, allocations: 3.938 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2846, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2847, allocations: 161.6 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2847, allocations: 0 / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.2848, allocations: 15.97 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2848, allocations: 4 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.2848, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2848, allocations: 3.938 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2848, allocations: 4 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.285, allocations: 175.5 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.2851, allocations: 77.11 kB / 0.9038 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.2851, allocations: 0 / 0.9038 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.2852, allocations: 11.98 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.2852, allocations: 4 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.2853, allocations: 0 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.2853, allocations: 83.28 kB / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2853, allocations: 4.031 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002072/0.2855, allocations: 4 kB / 0.9039 GB, free: 59.68 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.0004263/0.2859, allocations: 0.7162 MB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2861, allocations: 43.97 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2862, allocations: 4.094 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.2862, allocations: 23.98 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2865, allocations: 9.672 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.2869, allocations: 146.2 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.287, allocations: 0.681 MB / 0.9055 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.2871, allocations: 4 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.2871, allocations: 11.44 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2871, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.2988, allocations: 1.061 MB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.299, allocations: 213.7 kB / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.883, allocations: 2.109 kB / 0.9067 GB, free: 56.82 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)