Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_latest_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.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 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.00119/0.001191, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.88 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2824, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.00213/0.2846, allocations: 0.7946 MB / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.2856, allocations: 0.8523 MB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.2857, allocations: 4 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.2857, allocations: 11.86 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.2858, allocations: 7.875 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.286, allocations: 43.94 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2861, allocations: 83.83 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2863, allocations: 27.97 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.2864, allocations: 35.86 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.2864, allocations: 47.83 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.2865, allocations: 11.98 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.2865, allocations: 12 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.2865, allocations: 19.91 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.2866, allocations: 35.8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.2867, allocations: 83.73 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2867, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.397e-06/0.2868, allocations: 3.984 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2868, allocations: 0 / 1.066 GB, free: 12.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006207/0.2874, allocations: 391.5 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2874, allocations: 16.03 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.2875, allocations: 34.69 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2875, allocations: 12.84 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2877, allocations: 180.2 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2877, allocations: 4.375 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2877, allocations: 8.375 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.288, allocations: 105.5 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2881, allocations: 0 / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2881, allocations: 0 / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2881, allocations: 4 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.2885, allocations: 99.84 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.289, allocations: 344.6 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.2896, allocations: 122.5 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2898, allocations: 48.81 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2899, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2899, allocations: 38.56 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2899, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006627/0.2906, allocations: 177.4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2906, allocations: 67.34 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2907, allocations: 125.7 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2907, allocations: 25.7 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.2908, allocations: 99.97 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2909, allocations: 11.81 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.2909, allocations: 25.7 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.291, allocations: 318.8 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2912, allocations: 47.95 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.2914, allocations: 43.95 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.2918, allocations: 88.78 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2918, allocations: 4 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004221/0.2922, allocations: 145.5 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2922, allocations: 7.938 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2922, allocations: 0 / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2922, allocations: 0 / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2924, allocations: 23.97 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2924, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2926, allocations: 23.91 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2926, allocations: 8.547 kB / 1.068 GB, free: 9.566 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: 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.68e-05/0.2927, allocations: 115.6 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.2927, allocations: 3.906 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.2927, allocations: 12.38 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2928, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2928, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2928, allocations: 7.922 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.293, allocations: 197.6 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.293, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2932, allocations: 27.97 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2932, allocations: 0 / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2932, allocations: 7.922 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2932, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2932, allocations: 3.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.2937, allocations: 247.3 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.2937, allocations: 89 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2937, allocations: 0 / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.2939, allocations: 15.92 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.294, allocations: 27.91 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.294, allocations: 0 / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.2941, allocations: 99.27 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2941, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002401/0.2943, allocations: 16 kB / 1.069 GB, free: 8.621 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: 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.0007585/0.2951, allocations: 0.7636 MB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.2955, allocations: 120 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2955, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.2957, allocations: 55.95 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2961, allocations: 19.91 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2982, allocations: 1.524 MB / 1.071 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2984, allocations: 0.6945 MB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.2985, allocations: 12 kB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.2986, allocations: 31.42 kB / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2986, allocations: 0 / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.3172, allocations: 2.672 MB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.409, allocations: 19.89 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches