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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001214/0.001214, allocations: 112.5 kB / 15.73 MB, free: 76 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.001167/0.001167, allocations: 193.5 kB / 16.67 MB, free: 6.539 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.66/2.66, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2933, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001751/0.2951, allocations: 0.7715 MB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.296, allocations: 0.8584 MB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.2961, allocations: 4 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.2961, allocations: 11.86 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.2962, allocations: 3.938 kB / 1.243 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.2963, allocations: 51.81 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2965, allocations: 75.89 kB / 1.244 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2966, allocations: 27.98 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.2967, allocations: 43.78 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.2968, allocations: 47.83 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.2968, allocations: 8 kB / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.2968, allocations: 8 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.2968, allocations: 23.89 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.2969, allocations: 31.86 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.297, allocations: 91.59 kB / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.297, allocations: 0 / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2971, allocations: 0 / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2971, allocations: 4 kB / 1.244 GB, free: 7.703 MB / 0.9981 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.0006118/0.2977, allocations: 395.1 kB / 1.244 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2977, allocations: 12.03 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.2978, allocations: 30.75 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.2978, allocations: 8.891 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2979, allocations: 184.2 kB / 1.244 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.298, allocations: 4.375 kB / 1.244 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.298, allocations: 16.12 kB / 1.244 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.2983, allocations: 105 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2983, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2983, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2983, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.2987, allocations: 99.84 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.2992, allocations: 344.7 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.2998, allocations: 122.5 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.3, allocations: 56.75 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3001, allocations: 4 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3001, allocations: 34.56 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3001, allocations: 0 / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006657/0.3008, allocations: 185.5 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3008, allocations: 55.41 kB / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3009, allocations: 141.6 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.301, allocations: 25.7 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.301, allocations: 99.97 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3011, allocations: 19.84 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3011, allocations: 21.72 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3012, allocations: 318.8 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3014, allocations: 47.95 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3016, allocations: 43.95 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.302, allocations: 93.23 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.302, allocations: 4 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004075/0.3024, allocations: 137.6 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3024, allocations: 4 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3024, allocations: 0 / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3024, allocations: 0 / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3026, allocations: 27.91 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3026, allocations: 7.938 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3028, allocations: 23.86 kB / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3028, allocations: 8 kB / 1.246 GB, free: 4.848 MB / 0.9981 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.458e-05/0.3029, allocations: 113.8 kB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3029, allocations: 11.95 kB / 1.247 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3029, allocations: 8.375 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3029, allocations: 3.984 kB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3029, allocations: 3.938 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.303, allocations: 7.938 kB / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3032, allocations: 193.6 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3032, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3033, allocations: 23.97 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3033, allocations: 0 / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3034, allocations: 3.984 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3034, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3034, allocations: 3.938 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.3038, allocations: 243.3 kB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3039, allocations: 85.06 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3039, allocations: 0 / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3041, allocations: 11.98 kB / 1.247 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.3042, allocations: 27.91 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3042, allocations: 0 / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.3042, allocations: 103.3 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3042, allocations: 0 / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002232/0.3045, allocations: 12 kB / 1.247 GB, free: 3.914 MB / 0.9981 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.0007749/0.3052, allocations: 0.7703 MB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3057, allocations: 99.89 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3057, allocations: 3.938 kB / 1.248 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.3059, allocations: 71.88 kB / 1.248 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3062, allocations: 20.11 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3082, allocations: 1.537 MB / 1.25 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3085, allocations: 0.6846 MB / 1.25 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.707e-05/0.3086, allocations: 15.98 kB / 1.25 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.3087, allocations: 31.42 kB / 1.25 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.3087, allocations: 0 / 1.25 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.68/1.989, allocations: 2.706 MB / 1.253 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/14.56, allocations: 4.344 kB / 1.253 GB, free: 14.27 MB / 0.9981 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=400 --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