Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.4/3.4, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 68.06 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4081, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00354/0.4116, allocations: 0.6979 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.4134, allocations: 0.8626 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.4135, allocations: 3.938 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.4136, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.4137, allocations: 7.938 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.4139, allocations: 31.91 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.414, allocations: 39.91 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.4142, allocations: 8 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.4143, allocations: 23.92 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4144, allocations: 27.89 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.4144, allocations: 7.938 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.4144, allocations: 4 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.4145, allocations: 7.938 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.4145, allocations: 15.92 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.4147, allocations: 48.08 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.4147, allocations: 11.98 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4147, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4147, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 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.0006886/0.4154, allocations: 274.3 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.4154, allocations: 8.031 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.4155, allocations: 42.69 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.4155, allocations: 4.891 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4157, allocations: 110.5 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4157, allocations: 4.375 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.4158, allocations: 12.12 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.416, allocations: 73.58 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4161, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4161, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4161, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.4164, allocations: 55.88 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.417, allocations: 259.9 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.4173, allocations: 62.58 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.4175, allocations: 28.88 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.4175, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.4175, allocations: 34.5 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.4175, allocations: 4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0005681/0.4181, allocations: 101.8 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.4181, allocations: 55.41 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4183, allocations: 109.8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4183, allocations: 25.7 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.4184, allocations: 92.09 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.4184, allocations: 11.88 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.4185, allocations: 17.72 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4187, allocations: 322.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.4188, allocations: 23.98 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.4189, allocations: 28 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.4192, allocations: 60.75 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4192, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003698/0.4196, allocations: 85.61 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4196, allocations: 4 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4196, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4196, allocations: 4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.4198, allocations: 15.92 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4198, allocations: 3.984 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4199, allocations: 8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4199, allocations: 3.938 kB / 1.367 GB, free: 10.18 MB / 1.061 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,intGreThr.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 0.0001374/0.4201, allocations: 121.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.4201, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.4201, allocations: 7.938 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4202, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4202, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4202, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.4204, allocations: 148.6 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4204, allocations: 0 / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.4205, allocations: 15.98 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4205, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4205, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4205, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4205, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.421, allocations: 187.4 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.421, allocations: 3.953 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.421, allocations: 0 / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.4212, allocations: 11.98 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.4213, allocations: 19.92 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.4213, allocations: 0 / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.4213, allocations: 91.2 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4213, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003403/0.4217, allocations: 8 kB / 1.368 GB, free: 9.496 MB / 1.061 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 (intGreThr.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.0008662/0.4226, allocations: 0.7049 MB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.4228, allocations: 67.86 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4228, allocations: 0 / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.4229, allocations: 27.98 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.4235, allocations: 9.531 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.4259, allocations: 1.331 MB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.375e-05/0.426, allocations: 63.34 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.93e-05/0.426, allocations: 4 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.4261, allocations: 19.42 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.4261, allocations: 0 / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.4646, allocations: 2.43 MB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.87, allocations: 13.78 kB / 1.372 GB, free: 4.863 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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: 18.893863812088966]