Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.151/2.151, allocations: 251 MB / 265.9 MB, free: 11.68 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.001561/0.00156, allocations: 182.8 kB / 325.5 MB, free: 2.895 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.397/2.397, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001118/0.001117, allocations: 90.92 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 18.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.4492, allocations: 131.2 MB / 1.027 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.4497, allocations: 67.97 kB / 1.027 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003315/0.453, allocations: 0.6334 MB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4531, allocations: 4 kB / 1.028 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.4531, allocations: 0 / 1.028 GB, free: 13.38 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.0007015/0.4538, allocations: 351.5 kB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.4539, allocations: 12.03 kB / 1.028 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.454, allocations: 30.56 kB / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.454, allocations: 0 / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.4543, allocations: 182.9 kB / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4543, allocations: 3.938 kB / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.4543, allocations: 0 / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.4547, allocations: 53.67 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4547, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4547, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4548, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.4553, allocations: 47.95 kB / 1.028 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.456, allocations: 272.9 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.4564, allocations: 50.48 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4564, allocations: 0 / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.4564, allocations: 30.56 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.4565, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0008585/0.4573, allocations: 101.7 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.4574, allocations: 55.34 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.4576, allocations: 97.08 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4576, allocations: 25.7 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.4577, allocations: 88.14 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.4578, allocations: 7.844 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.4578, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.458, allocations: 318.8 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.4582, allocations: 19.98 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.4585, allocations: 27.92 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.4587, allocations: 19.98 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4588, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005324/0.4593, allocations: 77.72 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4594, allocations: 4 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4594, allocations: 0 / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4594, allocations: 0 / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.4596, allocations: 15.92 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4597, allocations: 3.984 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4598, allocations: 16.02 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4599, allocations: 3.953 kB / 1.029 GB, free: 11.29 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 0.0001352/0.46, allocations: 113.8 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4601, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.4602, allocations: 7.125 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4602, allocations: 3.938 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4602, allocations: 0 / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4602, allocations: 4 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.4605, allocations: 165.5 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4606, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.4607, allocations: 11.98 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4608, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4608, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4608, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4608, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.4615, allocations: 183.4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.4615, allocations: 77.11 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4616, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4618, allocations: 16.02 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.4619, allocations: 8 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.4619, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.989e-05/0.462, allocations: 87.52 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.62e-07/0.4621, allocations: 0 / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000479/0.4626, allocations: 4 kB / 1.03 GB, free: 10.52 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.001066/0.4636, allocations: 0.7046 MB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.4642, allocations: 52.8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4642, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.4645, allocations: 27.97 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.4649, allocations: 8.062 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.4657, allocations: 142.3 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4661, allocations: 0.6809 MB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.214e-05/0.4661, allocations: 3.938 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.4662, allocations: 11.44 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.4662, allocations: 4 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.4892, allocations: 1.069 MB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.4895, allocations: 194.2 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.808, allocations: 1.719 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB