Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007556/0.007556, allocations: 99.06 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 189.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002151/0.2745, allocations: 0.8252 MB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2756, allocations: 0.8741 MB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.2757, allocations: 4 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2759, allocations: 7.875 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.2759, allocations: 11.88 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.2761, allocations: 31.89 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2762, allocations: 71.78 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2764, allocations: 31.98 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2765, allocations: 31.84 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.2766, allocations: 39.72 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.2766, allocations: 4 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.2767, allocations: 12 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2767, allocations: 11.94 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.2767, allocations: 27.8 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2769, allocations: 79.95 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2769, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2769, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2769, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006138/0.2775, allocations: 399 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2776, allocations: 8.031 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.2776, allocations: 34.75 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.2776, allocations: 8.891 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2779, allocations: 216.1 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2779, allocations: 4.375 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2779, allocations: 4.375 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2781, allocations: 62.23 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2781, allocations: 3.938 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2781, allocations: 4 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2781, allocations: 0 / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2782, allocations: 35.92 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.2787, allocations: 308.8 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.2788, allocations: 54.59 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.2789, allocations: 24.94 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2789, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2789, allocations: 30.56 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2789, allocations: 0 / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002408/0.2792, allocations: 77.62 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2792, allocations: 51.41 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.2793, allocations: 140 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2794, allocations: 33.69 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.2794, allocations: 96.09 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.2795, allocations: 7.891 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.2795, allocations: 21.7 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2796, allocations: 318.8 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.2797, allocations: 15.98 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.2797, allocations: 32.09 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.2798, allocations: 24.84 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2798, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.28, allocations: 65.64 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.28, allocations: 7.984 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.28, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.28, allocations: 3.938 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.2801, allocations: 4 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2801, allocations: 0 / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.2802, allocations: 19.98 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2802, allocations: 3.938 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.2803, allocations: 113.8 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.2803, allocations: 7.953 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.2803, allocations: 12.23 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2803, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2804, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2804, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.2806, allocations: 185.6 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2807, allocations: 0 / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.2807, allocations: 4 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2807, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2807, allocations: 3.984 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2807, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2807, allocations: 7.938 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.2809, allocations: 163.4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.281, allocations: 89.06 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.281, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2811, allocations: 7.984 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.2811, allocations: 11.98 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.2812, allocations: 4 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.2812, allocations: 105.4 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2812, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002276/0.2815, allocations: 8 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004545/0.2819, allocations: 0.7007 MB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.2821, allocations: 28.22 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2821, allocations: 4 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.495e-05/0.2822, allocations: 16.08 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2824, allocations: 18.09 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2838, allocations: 1.397 MB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.2841, allocations: 0.6885 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.2841, allocations: 8 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.2842, allocations: 27.42 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2842, allocations: 0 / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.3013, allocations: 1.974 MB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.719, allocations: 13.61 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches