Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_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.0008816/0.0008814, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005223/0.005223, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.281/2.281, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 20 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6858, allocations: 142.4 MB / 0.9552 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0008958/0.6868, allocations: 433.7 kB / 0.9556 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.6876, allocations: 0.8319 MB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.6877, allocations: 1.625 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.6877, allocations: 0 / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.6878, allocations: 8.766 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.6879, allocations: 24.09 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.688, allocations: 38.61 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.6881, allocations: 17.61 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.6882, allocations: 14.47 kB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.6883, allocations: 26.58 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.6883, allocations: 1.312 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.6883, allocations: 2.844 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.6883, allocations: 9.406 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.6884, allocations: 40.03 kB / 0.9566 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.461e-05/0.6884, allocations: 43.78 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6885, allocations: 5.406 kB / 0.9566 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6885, allocations: 0 / 0.9566 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6885, allocations: 0 / 0.9566 GB, free: 6.402 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.0003999/0.6889, allocations: 353.7 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6889, allocations: 10.31 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.689, allocations: 32.19 kB / 0.957 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.689, allocations: 6.406 kB / 0.957 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.6891, allocations: 174.9 kB / 0.9572 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.6891, allocations: 1.875 kB / 0.9572 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.6891, allocations: 3.094 kB / 0.9572 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6893, allocations: 76.89 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.6894, allocations: 0 / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.6894, allocations: 5.219 kB / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6894, allocations: 0 / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.6896, allocations: 64.95 kB / 0.9573 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.69, allocations: 290.8 kB / 0.9576 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.6901, allocations: 72.91 kB / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.6903, allocations: 34.83 kB / 0.9577 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6903, allocations: 1.344 kB / 0.9577 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.6903, allocations: 39.89 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.6903, allocations: 0 / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004079/0.6907, allocations: 122.8 kB / 0.9579 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.6908, allocations: 56.84 kB / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.6908, allocations: 111.2 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.6908, allocations: 25.7 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.6909, allocations: 86.11 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.6909, allocations: 8.938 kB / 0.9581 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.6909, allocations: 19.83 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.691, allocations: 316 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.6911, allocations: 37.78 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.6912, allocations: 29.3 kB / 0.9585 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.6914, allocations: 67.72 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6914, allocations: 0 / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000224/0.6916, allocations: 100 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.6916, allocations: 3.625 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.6917, allocations: 1.75 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.6917, allocations: 4 kB / 0.9587 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6918, allocations: 14.77 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6918, allocations: 0 / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.6919, allocations: 10.08 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6919, allocations: 6.188 kB / 0.9587 GB, free: 4.406 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,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 5.889e-05/0.692, allocations: 111.4 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.692, allocations: 6.875 kB / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.692, allocations: 9.25 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.692, allocations: 4 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.692, allocations: 0 / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.692, allocations: 1.312 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6922, allocations: 174.7 kB / 0.959 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6922, allocations: 1.094 kB / 0.959 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.6923, allocations: 17.73 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6923, allocations: 0.875 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.6923, allocations: 4.844 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6923, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6923, allocations: 4.891 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6926, allocations: 201 kB / 0.9592 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.6926, allocations: 83.28 kB / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.6926, allocations: 0 / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.6927, allocations: 10.73 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.6928, allocations: 11.77 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6928, allocations: 2.312 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.689e-05/0.6928, allocations: 85.02 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6928, allocations: 0 / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002123/0.693, allocations: 15.41 kB / 0.9594 GB, free: 3.676 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 (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.0004411/0.6935, allocations: 0.7337 MB / 0.9602 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.6937, allocations: 63.92 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6938, allocations: 4.938 kB / 0.9602 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.6939, allocations: 47.34 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.6941, allocations: 3.562 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.6954, allocations: 1.35 MB / 0.9616 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.6955, allocations: 0.6845 MB / 0.9623 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.6955, allocations: 8.594 kB / 0.9623 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.6956, allocations: 17.52 kB / 0.9623 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.6956, allocations: 0 / 0.9623 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.7063, allocations: 1.526 MB / 0.9638 GB, free: 224 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.7065, allocations: 211 kB / 0.964 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.188, allocations: 7.469 kB / 0.964 GB, free: 15.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches