Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.007487/0.007487, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.00212/0.00212, allocations: 193.8 kB / 16.68 MB, free: 6.363 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.91 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3031, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001798/0.305, allocations: 0.7122 MB / 1.242 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.3059, allocations: 0.8273 MB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.306, allocations: 4 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.306, allocations: 3.938 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.3061, allocations: 3.938 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3062, allocations: 19.98 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.3063, allocations: 55.78 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3064, allocations: 19.97 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.3065, allocations: 8 kB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.3066, allocations: 35.84 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3066, allocations: 4 kB / 1.243 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.3066, allocations: 4 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.3066, allocations: 11.98 kB / 1.243 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.3067, allocations: 19.86 kB / 1.243 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.619e-05/0.3068, allocations: 47.8 kB / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3068, allocations: 0 / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3068, allocations: 0 / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3068, allocations: 0 / 1.243 GB, free: 8.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005279/0.3073, allocations: 367.3 kB / 1.244 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3074, allocations: 8.031 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.3074, allocations: 30.75 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.3074, allocations: 8.938 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3076, allocations: 172.3 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3076, allocations: 384 / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3076, allocations: 8.125 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3078, allocations: 65.64 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.3079, allocations: 3.938 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3079, allocations: 4 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3079, allocations: 4 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.3081, allocations: 55.88 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.3085, allocations: 292.8 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3088, allocations: 66.48 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3089, allocations: 28.91 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3089, allocations: 4 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3089, allocations: 30.56 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3089, allocations: 0 / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004179/0.3094, allocations: 105.6 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3094, allocations: 55.41 kB / 1.244 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.3095, allocations: 109.8 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3096, allocations: 25.7 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.3096, allocations: 96.03 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.3096, allocations: 7.938 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3097, allocations: 17.72 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3098, allocations: 326.8 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.31, allocations: 23.98 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.3101, allocations: 23.97 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3103, allocations: 48.81 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3103, allocations: 3.938 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000257/0.3105, allocations: 85.61 kB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3106, allocations: 8.938 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3106, allocations: 4 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.3106, allocations: 0 / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3107, allocations: 15.92 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3107, allocations: 3.984 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.3108, allocations: 4 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3108, allocations: 3.938 kB / 1.245 GB, free: 6.082 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: 2 (reaToInt.y,intLesEquThr.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 9.197e-05/0.3109, allocations: 118.4 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3109, allocations: 0 / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.311, allocations: 11.91 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.311, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.311, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.311, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3112, allocations: 193.6 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3112, allocations: 0 / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.3113, allocations: 11.98 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3113, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3113, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3113, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3113, allocations: 4 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.3117, allocations: 191.6 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3117, allocations: 81.11 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3117, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3118, allocations: 7.984 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3119, allocations: 11.98 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3119, allocations: 4 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.312, allocations: 95.2 kB / 1.246 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 1.246 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002242/0.3122, allocations: 11.89 kB / 1.246 GB, free: 5.254 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: 2 (intLesEquThr.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.000657/0.3129, allocations: 0.7241 MB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3131, allocations: 51.94 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3131, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3133, allocations: 31.98 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3135, allocations: 9.875 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3152, allocations: 1.323 MB / 1.248 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3155, allocations: 0.6846 MB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.3156, allocations: 7.938 kB / 1.249 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.3156, allocations: 23.42 kB / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3157, allocations: 3.938 kB / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.3386, allocations: 1.848 MB / 1.251 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.091, allocations: 9.734 kB / 1.251 GB, free: 0.5508 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches