Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_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.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.16 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.264, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002062/0.2661, allocations: 0.7092 MB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2672, allocations: 0.8291 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.2672, allocations: 4 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.2673, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.2673, allocations: 7.922 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.2675, allocations: 23.92 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.2676, allocations: 51.89 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2677, allocations: 15.94 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.2678, allocations: 19.92 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.2678, allocations: 27.91 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.2679, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.2679, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2679, allocations: 7.984 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.268, allocations: 23.86 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.268, allocations: 39.86 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2681, allocations: 3.984 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2681, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2681, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005331/0.2686, allocations: 355.7 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2687, allocations: 12.03 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.2687, allocations: 34.75 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.2687, allocations: 8.844 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2689, allocations: 168.3 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2689, allocations: 8.375 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2689, allocations: 12.25 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.2692, allocations: 77.52 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2692, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2692, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2692, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.2694, allocations: 51.95 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.2699, allocations: 292.7 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.2701, allocations: 62.48 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2702, allocations: 36.91 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2703, allocations: 3.984 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2703, allocations: 34.56 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2703, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004282/0.2707, allocations: 109.6 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2708, allocations: 51.41 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.2709, allocations: 109.9 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2709, allocations: 29.7 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.271, allocations: 92.05 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.271, allocations: 3.906 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.271, allocations: 21.7 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2712, allocations: 318.8 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.2713, allocations: 27.97 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2714, allocations: 23.97 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2716, allocations: 48.83 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2716, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000256/0.2719, allocations: 85.58 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2719, allocations: 8 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2719, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2719, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2721, allocations: 15.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2721, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.2722, allocations: 15.89 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.2722, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.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 9.031e-05/0.2723, allocations: 117.8 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.2723, allocations: 8 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.2723, allocations: 7.844 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2723, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2724, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2724, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.2726, allocations: 181.5 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2726, allocations: 4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.2727, allocations: 15.98 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2727, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2727, allocations: 3.938 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2727, allocations: 7.938 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2727, allocations: 0 / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.273, allocations: 187.3 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.2731, allocations: 81.11 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2731, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2732, allocations: 7.984 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2733, allocations: 12.36 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2733, allocations: 4 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.2733, allocations: 87.27 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2733, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002361/0.2736, allocations: 11.94 kB / 1.069 GB, free: 9.281 MB / 0.8262 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006626/0.2743, allocations: 0.724 MB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.2745, allocations: 59.94 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2745, allocations: 4 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2747, allocations: 27.92 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.275, allocations: 11.98 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2766, allocations: 1.315 MB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.2769, allocations: 0.6807 MB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.277, allocations: 7.984 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.277, allocations: 15.44 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.277, allocations: 0 / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.2997, allocations: 1.814 MB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.838, allocations: 6.062 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches