Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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.001781/0.001781, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.002036/0.002036, allocations: 220.5 kB / 22.25 MB, free: 5.098 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.832 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.445/3.445, allocations: 0.49 GB / 0.7951 GB, free: 35.36 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.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",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.001996/0.001996, allocations: 67.91 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.373, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.00232/0.3753, allocations: 0.8457 MB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3766, allocations: 0.9211 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.3767, allocations: 7.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.3768, allocations: 7.875 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.3769, allocations: 19.84 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.3771, allocations: 35.91 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3772, allocations: 107.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3774, allocations: 35.97 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3775, allocations: 43.8 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.3776, allocations: 47.77 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3776, allocations: 8 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.3776, allocations: 8 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.3777, allocations: 19.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.3777, allocations: 31.86 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3779, allocations: 103.8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3779, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3779, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3779, allocations: 3.984 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006275/0.3785, allocations: 341.8 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3786, allocations: 8.031 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.3786, allocations: 42.67 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3788, allocations: 24.88 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.379, allocations: 150.3 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3791, allocations: 4.375 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3791, allocations: 8.375 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3793, allocations: 94.2 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3793, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3794, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3794, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.3796, allocations: 79.88 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.3802, allocations: 307.6 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3805, allocations: 62.53 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3806, allocations: 32.94 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3806, allocations: 3.984 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3807, allocations: 38.56 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3807, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004534/0.3811, allocations: 113.5 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3812, allocations: 59.39 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3813, allocations: 135 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3813, allocations: 25.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.3814, allocations: 112 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3814, allocations: 11.94 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.3814, allocations: 17.72 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3816, allocations: 322.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3817, allocations: 31.97 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3818, allocations: 27.98 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.382, allocations: 56.8 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.382, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002785/0.3823, allocations: 101.5 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3823, allocations: 4 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3823, allocations: 4 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3824, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3825, allocations: 15.98 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3825, allocations: 7.875 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3826, allocations: 15.98 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3826, allocations: 0 / 1.33 GB, free: 12.84 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001045/0.3827, allocations: 118.6 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3827, allocations: 7.938 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.3828, allocations: 16.34 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3828, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3828, allocations: 3.938 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3828, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.383, allocations: 148.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.383, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.3831, allocations: 11.98 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3831, allocations: 11.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3831, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3831, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3831, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3834, allocations: 191.6 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.3834, allocations: 3.953 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3835, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3836, allocations: 27.91 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.3836, allocations: 11.92 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3836, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.921e-05/0.3837, allocations: 105.1 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3837, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002353/0.384, allocations: 19.89 kB / 1.331 GB, free: 12.08 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0006607/0.3846, allocations: 0.7202 MB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.3849, allocations: 63.94 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3849, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.385, allocations: 35.91 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3853, allocations: 15.92 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3872, allocations: 1.485 MB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.57e-05/0.3873, allocations: 83.31 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.3874, allocations: 4 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.3874, allocations: 27.42 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3874, allocations: 3.938 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4173, allocations: 2.826 MB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 4.766 kB / 1.336 GB, free: 6.828 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gre.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable greHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable greHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.025806267018197]