Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001858/0.001858, allocations: 114.5 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.00238/0.00238, allocations: 217 kB / 22.25 MB, free: 5.082 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.GreaterEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.002082/0.002082, allocations: 64.33 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002421/0.3795, allocations: 0.7257 MB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3807, allocations: 0.8666 MB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.3808, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.3808, allocations: 11.92 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.593e-05/0.3809, allocations: 11.92 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.3811, allocations: 15.98 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.3812, allocations: 47.84 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.3813, allocations: 12 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.3814, allocations: 23.91 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.3814, allocations: 23.91 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3814, allocations: 4 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.3815, allocations: 4 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.3815, allocations: 12 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.3815, allocations: 19.86 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3817, allocations: 52.02 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3817, allocations: 4 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3817, allocations: 0 / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3817, allocations: 0 / 1.328 GB, free: 148 kB / 1.014 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.0005451/0.3822, allocations: 282.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3823, allocations: 8.031 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.3823, allocations: 42.67 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.3823, allocations: 4.875 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3825, allocations: 114.4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3825, allocations: 8.375 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3825, allocations: 8.125 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3827, allocations: 65.66 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3827, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3827, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3827, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.3829, allocations: 59.86 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3834, allocations: 255.9 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3836, allocations: 62.53 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3837, allocations: 32.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3837, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3838, allocations: 34.56 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3838, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004199/0.3842, allocations: 105.6 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3842, allocations: 51.41 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3843, allocations: 109.8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3844, allocations: 25.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.3844, allocations: 92.12 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3845, allocations: 15.84 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3845, allocations: 17.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3847, allocations: 322.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3848, allocations: 23.92 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.3849, allocations: 23.97 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.385, allocations: 56.81 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.385, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002385/0.3853, allocations: 77.66 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3853, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3853, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3853, allocations: 7.984 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3854, allocations: 11.98 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3855, allocations: 7.875 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.3855, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3855, allocations: 11.94 kB / 1.33 GB, free: 14.03 MB / 1.029 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,intGreEquThr.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.0001017/0.3856, allocations: 114.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3857, allocations: 3.953 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.3857, allocations: 12 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3857, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3857, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3857, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3859, allocations: 152.7 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3859, allocations: 7.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.386, allocations: 11.98 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.386, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.386, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.386, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.386, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.3863, allocations: 191.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.3863, allocations: 12.03 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3864, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.3865, allocations: 7.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.3865, allocations: 11.98 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3865, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.3866, allocations: 99.5 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3866, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002189/0.3868, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 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 (intGreEquThr.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.0006796/0.3875, allocations: 0.7124 MB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3878, allocations: 63.88 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3878, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3879, allocations: 31.97 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3882, allocations: 10.03 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3901, allocations: 1.323 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3904, allocations: 0.6807 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.3905, allocations: 8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.3905, allocations: 19.42 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3905, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.4183, allocations: 1.96 MB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 7.188 kB / 1.335 GB, free: 8.535 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.502868853043765]