Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 67.89 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8709, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002026/0.873, allocations: 0.7058 MB / 1.269 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.8741, allocations: 0.8351 MB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.8742, allocations: 4 kB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.8742, allocations: 7.922 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.8743, allocations: 7.938 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.8744, allocations: 19.97 kB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.8745, allocations: 43.91 kB / 1.27 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8747, allocations: 15.94 kB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.209e-05/0.8747, allocations: 19.92 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.8748, allocations: 35.83 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.8748, allocations: 4 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.8749, allocations: 4 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.8749, allocations: 11.98 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.8749, allocations: 19.88 kB / 1.27 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.875, allocations: 53.61 kB / 1.27 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.875, allocations: 0 / 1.27 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.875, allocations: 0 / 1.27 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.875, allocations: 0 / 1.27 GB, free: 3.375 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.0006001/0.8756, allocations: 363.3 kB / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8757, allocations: 8.031 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.8757, allocations: 30.75 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.8758, allocations: 16.89 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.8759, allocations: 164.4 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.876, allocations: 4.375 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.876, allocations: 4.125 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.8762, allocations: 65.66 kB / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8762, allocations: 0 / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8762, allocations: 0 / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.8762, allocations: 0 / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.8764, allocations: 59.89 kB / 1.271 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.8769, allocations: 300.7 kB / 1.271 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.8771, allocations: 58.56 kB / 1.272 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.8772, allocations: 36.81 kB / 1.272 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.8772, allocations: 4 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.8772, allocations: 34.5 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8772, allocations: 0 / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000426/0.8777, allocations: 105.6 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.8777, allocations: 51.41 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.8778, allocations: 113.8 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.8778, allocations: 29.7 kB / 1.272 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.8779, allocations: 88.09 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.8779, allocations: 7.953 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.878, allocations: 21.7 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.8782, allocations: 314.8 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.8783, allocations: 31.91 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.8784, allocations: 23.97 kB / 1.272 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.8786, allocations: 52.83 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8786, allocations: 0 / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002481/0.8788, allocations: 93.53 kB / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8788, allocations: 4 kB / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8788, allocations: 0 / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8788, allocations: 4 kB / 1.272 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.879, allocations: 11.98 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.879, allocations: 7.938 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.8791, allocations: 7.984 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.8791, allocations: 7.938 kB / 1.273 GB, free: 1.059 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,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.762e-05/0.8792, allocations: 110.7 kB / 1.273 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.8792, allocations: 7.984 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.8792, allocations: 3.906 kB / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8792, allocations: 0 / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.8792, allocations: 0 / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8792, allocations: 4 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.8795, allocations: 185.5 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8795, allocations: 0 / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.8795, allocations: 11.98 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8795, allocations: 0 / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.8796, allocations: 0 / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8796, allocations: 3.938 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8796, allocations: 4 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.8799, allocations: 191.7 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.8799, allocations: 85 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.88, allocations: 0 / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8801, allocations: 7.984 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.8801, allocations: 11.98 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.8801, allocations: 4 kB / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.514e-05/0.8802, allocations: 91.2 kB / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8802, allocations: 0 / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002152/0.8804, allocations: 12 kB / 1.273 GB, free: 240 kB / 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 (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.0007024/0.8811, allocations: 0.7091 MB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.8814, allocations: 59.89 kB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8814, allocations: 0 / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.8815, allocations: 27.97 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.8818, allocations: 12.86 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.8835, allocations: 1.327 MB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.8838, allocations: 0.6923 MB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.424e-05/0.8839, allocations: 4 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.8839, allocations: 15.44 kB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.8839, allocations: 0 / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.909, allocations: 1.869 MB / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/9.089, allocations: 5.719 kB / 1.278 GB, free: 11.51 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.16474301321432]