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.406/1.406, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 176.9 kB / 316.3 MB, free: 3.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 1.412/1.412, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008213/0.0008213, allocations: 86.48 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.846e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.222, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7386/0.9606, allocations: 131.6 MB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.9609, allocations: 77.62 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001635/0.9625, allocations: 0.6238 MB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9625, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.9626, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 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.0003783/0.9629, allocations: 349.8 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.963, allocations: 12.03 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.963, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9632, allocations: 167 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.9632, allocations: 0 / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.9632, allocations: 0 / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.664e-05/0.9633, allocations: 11 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.9634, allocations: 40.75 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9634, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.9634, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9634, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.9638, allocations: 247.7 kB / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.507e-05/0.9639, allocations: 22.2 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.9639, allocations: 12.23 kB / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.964, allocations: 4 kB / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.964, allocations: 42.53 kB / 1.015 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.964, allocations: 0 / 1.015 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.9642, allocations: 36.77 kB / 1.015 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.9642, allocations: 54.14 kB / 1.015 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.9643, allocations: 92.25 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.9643, allocations: 25.7 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.9644, allocations: 91.62 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.9644, allocations: 7.938 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.9644, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9645, allocations: 314.8 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.9645, allocations: 7.25 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.9646, allocations: 4 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.516e-05/0.9646, allocations: 3.5 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9646, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.621e-05/0.9647, allocations: 40.89 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.9647, allocations: 12.84 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9647, allocations: 3.984 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.9647, allocations: 0 / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.9648, allocations: 8 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9648, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.9649, allocations: 12.86 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.9649, allocations: 3.984 kB / 1.016 GB, free: 3.387 MB / 0.6355 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 () * 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 8.075e-05/0.965, allocations: 112.9 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.771e-05/0.9651, allocations: 45 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.9651, allocations: 3.906 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.9651, allocations: 7.703 kB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9651, allocations: 4 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9652, allocations: 3.938 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9652, allocations: 0 / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.9653, allocations: 141.4 kB / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9653, allocations: 0 / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.9654, allocations: 23.52 kB / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.9654, allocations: 0 / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.9654, allocations: 0 / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9654, allocations: 0 / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9654, allocations: 0 / 1.016 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.9655, allocations: 138.6 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.9656, allocations: 81.05 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.9656, allocations: 4.031 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.9657, allocations: 11.98 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.9658, allocations: 4 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.9658, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.9658, allocations: 86.39 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9658, allocations: 0 / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003079/0.9661, allocations: 4 kB / 1.017 GB, free: 2.66 MB / 0.6355 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 () * 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.0004245/0.9666, allocations: 0.6796 MB / 1.017 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.9666, allocations: 11.25 kB / 1.017 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9667, allocations: 2.656 kB / 1.017 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.9667, allocations: 11.75 kB / 1.017 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.9669, allocations: 6.844 kB / 1.017 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.9672, allocations: 88.91 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.9675, allocations: 0.6806 MB / 1.018 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.9675, allocations: 4 kB / 1.018 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.9676, allocations: 11.25 kB / 1.018 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of SimCode: time 1.744e-06/0.9676, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.9874, allocations: 0.767 MB / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.9877, allocations: 169.1 kB / 1.019 GB, free: 156 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/2.376, allocations: 3.25 kB / 1.019 GB, free: 156 kB / 0.6355 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)