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.001666/0.001666, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001946/0.001946, allocations: 192.4 kB / 16.25 MB, free: 6.641 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 70.52 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.303, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001787/0.3048, allocations: 0.8381 MB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.3057, allocations: 0.8741 MB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.3057, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.3058, allocations: 3.938 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.3058, allocations: 11.88 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.3059, allocations: 35.95 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.306, allocations: 83.83 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.059e-05/0.3061, allocations: 27.91 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.3062, allocations: 39.84 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.3062, allocations: 51.83 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3063, allocations: 8 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.3063, allocations: 8 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3063, allocations: 19.91 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.3063, allocations: 43.73 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.3064, allocations: 79.72 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3065, allocations: 4 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3065, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.3065, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 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.0005041/0.307, allocations: 395.5 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.307, allocations: 12.62 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.307, allocations: 38.73 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.3071, allocations: 8.844 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3072, allocations: 172.2 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3072, allocations: 8.375 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3072, allocations: 4.375 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.3075, allocations: 117.5 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.3075, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3075, allocations: 4 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-06/0.3075, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.3079, allocations: 95.89 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3083, allocations: 348.6 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.3089, allocations: 114.6 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.309, allocations: 64.8 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3091, allocations: 0 / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3091, allocations: 30.56 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.3091, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006234/0.3097, allocations: 193.4 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3098, allocations: 51.41 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.3098, allocations: 129.7 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3099, allocations: 25.7 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.3099, allocations: 104 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.3099, allocations: 7.812 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.31, allocations: 29.7 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.3101, allocations: 318.8 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.3103, allocations: 39.95 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3104, allocations: 51.95 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3107, allocations: 100.7 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3108, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003893/0.3112, allocations: 137.4 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3112, allocations: 7.984 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3112, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-06/0.3112, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3113, allocations: 19.97 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3114, allocations: 8 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.3115, allocations: 15.92 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3115, allocations: 4 kB / 1.057 GB, free: 3.695 MB / 0.8106 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.587e-05/0.3116, allocations: 113.8 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.3116, allocations: 11.89 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.3117, allocations: 8.375 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3117, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3117, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3117, allocations: 11.94 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3119, allocations: 201.5 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3119, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3121, allocations: 27.91 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3121, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3121, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3121, allocations: 4 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3121, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.3125, allocations: 239.2 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.3126, allocations: 85.02 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3126, allocations: 4 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3127, allocations: 15.97 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.3128, allocations: 23.92 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.3128, allocations: 3.984 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.3129, allocations: 99.27 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.373e-06/0.3129, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002175/0.3131, allocations: 19.94 kB / 1.058 GB, free: 2.75 MB / 0.8106 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.0006601/0.3138, allocations: 0.7598 MB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3141, allocations: 107.8 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3142, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3143, allocations: 64.17 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3146, allocations: 19.36 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3165, allocations: 1.548 MB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3167, allocations: 0.6885 MB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.757e-05/0.3168, allocations: 15.98 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.3169, allocations: 27.42 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3169, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.525/3.842, allocations: 2.435 MB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/3.842, allocations: 210.5 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/6.512, allocations: 1.375 kB / 1.064 GB, free: 12.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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