Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_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.005625/0.005625, allocations: 100.4 kB / 15.73 MB, free: 6.012 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.001415/0.001416, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.533/2.533, allocations: 482.7 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 65.16 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2885, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001597/0.2901, allocations: 0.7131 MB / 1.243 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.2909, allocations: 0.8315 MB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.291, allocations: 4 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.291, allocations: 3.984 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.2911, allocations: 3.938 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2912, allocations: 27.91 kB / 1.243 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.2913, allocations: 47.91 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.2914, allocations: 15.98 kB / 1.243 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.2915, allocations: 15.94 kB / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.2915, allocations: 31.89 kB / 1.244 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.2916, allocations: 4 kB / 1.244 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2916, allocations: 4 kB / 1.244 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.2916, allocations: 11.92 kB / 1.244 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.2916, allocations: 15.94 kB / 1.244 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.2917, allocations: 56 kB / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2917, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2917, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2917, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9669 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.0004698/0.2922, allocations: 367.3 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2923, allocations: 8.031 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.2923, allocations: 30.75 kB / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.2923, allocations: 8.938 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2925, allocations: 172.3 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2925, allocations: 8.375 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.2925, allocations: 4.125 kB / 1.244 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2927, allocations: 65.66 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2927, allocations: 0 / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2927, allocations: 0 / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2927, allocations: 3.984 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.2929, allocations: 55.89 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.2933, allocations: 300.8 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.2935, allocations: 58.55 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2936, allocations: 32.91 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.2936, allocations: 0 / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2937, allocations: 38.5 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.2937, allocations: 0 / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003814/0.2941, allocations: 109.6 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2941, allocations: 51.41 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.2942, allocations: 105.8 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2942, allocations: 29.7 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.2943, allocations: 92.08 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2943, allocations: 7.953 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.2943, allocations: 21.66 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2945, allocations: 326.8 kB / 1.245 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2946, allocations: 19.98 kB / 1.245 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/0.2947, allocations: 27.91 kB / 1.245 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.2948, allocations: 52.81 kB / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2949, allocations: 0 / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002245/0.2951, allocations: 85.64 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2951, allocations: 8 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2951, allocations: 4 kB / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.2951, allocations: 0 / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2952, allocations: 11.98 kB / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2953, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.2953, allocations: 15.94 kB / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2953, allocations: 7.938 kB / 1.246 GB, free: 4.805 MB / 0.9669 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 7.78e-05/0.2954, allocations: 117.7 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.2955, allocations: 4 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.2955, allocations: 3.906 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2957, allocations: 181.6 kB / 1.246 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2957, allocations: 4 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.2958, allocations: 11.98 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2958, allocations: 336 / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2958, allocations: 0 / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2958, allocations: 0 / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2958, allocations: 0 / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2961, allocations: 191.4 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.2961, allocations: 85.09 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2961, allocations: 3.938 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.2962, allocations: 7.984 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.2963, allocations: 8 kB / 1.246 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.2963, allocations: 7.984 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.2964, allocations: 87.53 kB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2964, allocations: 0 / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002058/0.2966, allocations: 8 kB / 1.246 GB, free: 4 MB / 0.9669 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.0005573/0.2971, allocations: 0.7245 MB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2974, allocations: 59.88 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2974, allocations: 4 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2975, allocations: 31.97 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2978, allocations: 5.875 kB / 1.247 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2992, allocations: 1.327 MB / 1.248 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2995, allocations: 0.6807 MB / 1.249 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.2995, allocations: 8 kB / 1.249 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.2996, allocations: 19.42 kB / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2996, allocations: 0 / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/1.666, allocations: 1.848 MB / 1.251 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.94, allocations: 3.281 kB / 1.251 GB, free: 15.28 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches