Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.00806/0.00806, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001808/0.001808, allocations: 195.6 kB / 16.67 MB, free: 5.926 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.412/1.412, 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 9.1.3-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.59 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001967/0.2763, allocations: 0.7819 MB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2774, allocations: 0.8623 MB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.2775, allocations: 7.938 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.2776, allocations: 3.938 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.162e-05/0.2777, allocations: 15.86 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.2779, allocations: 35.95 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.278, allocations: 83.81 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2781, allocations: 24 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2782, allocations: 43.83 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.2783, allocations: 43.83 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.2784, allocations: 8 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.2784, allocations: 8 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.2784, allocations: 23.92 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.2785, allocations: 43.77 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2786, allocations: 79.67 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2786, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2787, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2787, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006298/0.2793, allocations: 398.9 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2794, allocations: 8.031 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.2794, allocations: 38.75 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.2794, allocations: 8.844 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2796, allocations: 172.2 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2796, allocations: 12.36 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.2796, allocations: 8.125 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.2799, allocations: 107.9 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.28, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.28, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.28, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.2804, allocations: 95.91 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.2809, allocations: 352.6 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.2815, allocations: 110.6 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.2818, allocations: 60.81 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2818, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2818, allocations: 38.5 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2818, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007014/0.2825, allocations: 193.4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2826, allocations: 51.41 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.2827, allocations: 121.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2827, allocations: 25.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.2827, allocations: 104 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2828, allocations: 11.81 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.2828, allocations: 21.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.2829, allocations: 322.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.2831, allocations: 47.95 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2833, allocations: 43.95 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.2837, allocations: 96.78 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2837, allocations: 7.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004227/0.2841, allocations: 133.5 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2841, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2842, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2842, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.2843, allocations: 27.97 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.2844, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2845, allocations: 19.92 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2845, allocations: 3.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 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 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.322e-05/0.2846, allocations: 113.8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2846, allocations: 11.84 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.2847, allocations: 16.31 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2847, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2847, allocations: 3.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2847, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.2849, allocations: 201.6 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2849, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.2851, allocations: 23.97 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2851, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2851, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2851, allocations: 3.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2851, allocations: 3.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.2856, allocations: 227.9 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.2856, allocations: 85 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.2857, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2858, allocations: 15.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.2859, allocations: 27.84 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2859, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.286, allocations: 95.27 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.286, allocations: 3.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002467/0.2863, allocations: 12 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007432/0.287, allocations: 0.7763 MB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.2875, allocations: 107.8 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2875, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2877, allocations: 63.95 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2881, allocations: 16.69 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.2903, allocations: 1.533 MB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2905, allocations: 0.6924 MB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.366e-05/0.2906, allocations: 15.73 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.2907, allocations: 31.42 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of SimCode: time 1.623e-06/0.2907, allocations: 0 / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3105, allocations: 2.716 MB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.053, allocations: 0 / 1.099 GB, free: 6.195 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches