Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_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.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001196/0.001196, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.798, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002248/0.8003, allocations: 0.7655 MB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.8012, allocations: 0.8367 MB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.8012, allocations: 1.375 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.8013, allocations: 3.938 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.8014, allocations: 0 / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.8015, allocations: 25.48 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.8016, allocations: 41.78 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.8017, allocations: 9.5 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.8018, allocations: 28.09 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.8018, allocations: 21.41 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.8019, allocations: 2.75 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.8019, allocations: 2.75 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.8019, allocations: 17.3 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.8019, allocations: 12.06 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.934e-05/0.802, allocations: 48.03 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.802, allocations: 0 / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.802, allocations: 0 / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.802, allocations: 1.375 kB / 0.9508 GB, free: 7.766 MB / 0.7169 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.0004446/0.8025, allocations: 360.8 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8025, allocations: 9.625 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.8026, allocations: 32.12 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.8026, allocations: 7.688 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8027, allocations: 175 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.8028, allocations: 1.75 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.8028, allocations: 1.75 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.803, allocations: 76.77 kB / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.803, allocations: 0 / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.803, allocations: 0 / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.803, allocations: 1.375 kB / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.8032, allocations: 54.27 kB / 0.9515 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.8036, allocations: 289.1 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.8038, allocations: 62.98 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8039, allocations: 35.19 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.8039, allocations: 0 / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.8039, allocations: 32.06 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.8039, allocations: 3.938 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004021/0.8043, allocations: 112.9 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.8044, allocations: 56.53 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.8045, allocations: 115.3 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.8045, allocations: 25.7 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.8045, allocations: 89.31 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.8046, allocations: 14.28 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.8046, allocations: 17 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.8047, allocations: 328.1 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.8048, allocations: 21.05 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.8049, allocations: 28.12 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.805, allocations: 51 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.805, allocations: 0 / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002239/0.8053, allocations: 81.12 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8053, allocations: 13.02 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8053, allocations: 0 / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8053, allocations: 4 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.8055, allocations: 12.8 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8055, allocations: 0 / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.8055, allocations: 9.141 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.8056, allocations: 1.281 kB / 0.9529 GB, free: 5.766 MB / 0.7169 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 6.74e-05/0.8056, allocations: 116.2 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.8057, allocations: 6.438 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.8057, allocations: 4.906 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8057, allocations: 4 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8057, allocations: 5.688 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8057, allocations: 0 / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.8059, allocations: 182.8 kB / 0.9532 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8059, allocations: 1.031 kB / 0.9532 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.806, allocations: 11.98 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.806, allocations: 0 / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.806, allocations: 1.312 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.806, allocations: 0 / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.806, allocations: 0 / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.8063, allocations: 187.8 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.8063, allocations: 86.53 kB / 0.9534 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8063, allocations: 1.344 kB / 0.9534 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.8064, allocations: 4.938 kB / 0.9534 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.8065, allocations: 15.94 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8065, allocations: 1.156 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.8065, allocations: 89.41 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8066, allocations: 0 / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002203/0.8068, allocations: 14.38 kB / 0.9536 GB, free: 5.031 MB / 0.7169 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.0005478/0.8073, allocations: 0.7171 MB / 0.9543 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.8076, allocations: 66.59 kB / 0.9543 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8076, allocations: 0 / 0.9543 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.8077, allocations: 30.38 kB / 0.9544 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.8081, allocations: 7.594 kB / 0.9544 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.8097, allocations: 1.324 MB / 0.9557 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.8099, allocations: 0.681 MB / 0.9563 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.018e-05/0.8099, allocations: 7.375 kB / 0.9563 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.81, allocations: 18.58 kB / 0.9563 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.81, allocations: 0 / 0.9563 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.8223, allocations: 1.598 MB / 0.9579 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.8226, allocations: 212.7 kB / 0.9581 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.609, allocations: 3.938 kB / 0.9581 GB, free: 1.223 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches