Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001476/0.001476, allocations: 216 kB / 22.25 MB, free: 5.074 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_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.002064/0.002064, allocations: 69.69 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002524/0.367, allocations: 0.7208 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3683, allocations: 0.8627 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.3684, allocations: 4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.3684, allocations: 7.875 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.3685, allocations: 3.938 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.3687, allocations: 23.92 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.3688, allocations: 47.91 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3689, allocations: 15.97 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.369, allocations: 19.94 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.3691, allocations: 23.91 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3691, allocations: 4 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3691, allocations: 4 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.3692, allocations: 15.94 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.3692, allocations: 19.91 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3694, allocations: 47.38 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3694, allocations: 3.938 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3694, allocations: 0 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3694, allocations: 0 / 1.285 GB, free: 9.777 MB / 0.9825 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.0005927/0.37, allocations: 282.3 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.37, allocations: 12.03 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.3701, allocations: 30.75 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3701, allocations: 4.891 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3702, allocations: 122.4 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.3703, allocations: 8.375 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3703, allocations: 3.938 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3705, allocations: 69.64 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3705, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3705, allocations: 4 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3705, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3707, allocations: 51.95 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3713, allocations: 255.8 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.3715, allocations: 66.53 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3716, allocations: 28.92 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3716, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3716, allocations: 42.55 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3716, allocations: 3.938 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004535/0.3721, allocations: 113.5 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3721, allocations: 55.41 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3723, allocations: 109.8 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3723, allocations: 25.7 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.3723, allocations: 84.14 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3724, allocations: 15.84 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3724, allocations: 21.7 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3726, allocations: 314.8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3727, allocations: 27.97 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.3728, allocations: 23.98 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.373, allocations: 52.81 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.373, allocations: 3.938 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002456/0.3732, allocations: 85.58 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3732, allocations: 8 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3732, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3733, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3734, allocations: 11.98 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3734, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.3735, allocations: 19.92 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3735, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 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 9.051e-05/0.3736, allocations: 109.8 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.3736, allocations: 7.953 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.3736, allocations: 11.98 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3736, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3736, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3736, allocations: 3.938 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3738, allocations: 140.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3738, allocations: 4 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.3739, allocations: 11.92 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3739, allocations: 7.984 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3739, allocations: 4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3739, allocations: 4 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3739, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.3742, allocations: 183.4 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.3742, allocations: 4 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3742, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3744, allocations: 7.984 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.3744, allocations: 15.98 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.3744, allocations: 3.938 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.367e-05/0.3745, allocations: 91.27 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3745, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002207/0.3747, allocations: 7.938 kB / 1.288 GB, free: 6.98 MB / 0.9825 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.0006649/0.3754, allocations: 0.7206 MB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3756, allocations: 51.95 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3757, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3758, allocations: 35.91 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3761, allocations: 15.92 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3779, allocations: 1.313 MB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3782, allocations: 0.6846 MB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.3783, allocations: 8 kB / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.3783, allocations: 15.44 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3783, allocations: 0 / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.4105, allocations: 1.952 MB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.51, allocations: 9.984 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.243387656053528]