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.001294/0.001294, allocations: 111 kB / 16.46 MB, free: 6.453 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.00138/0.00138, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.294/3.294, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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.002075/0.002075, allocations: 75.02 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 176.1 MB / 1.321 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.00212/0.3481, allocations: 0.8766 MB / 1.322 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3492, allocations: 0.9289 MB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.3493, allocations: 7.938 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.3494, allocations: 15.81 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.3495, allocations: 11.86 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.3497, allocations: 35.91 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3498, allocations: 107.7 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3499, allocations: 31.98 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3501, allocations: 51.77 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.3501, allocations: 39.78 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3502, allocations: 8 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.3502, allocations: 12 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3502, allocations: 15.98 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3503, allocations: 35.73 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3504, allocations: 115.7 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3504, allocations: 0 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3504, allocations: 4 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3505, allocations: 0 / 1.323 GB, free: 0.957 MB / 1.014 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.0006316/0.3511, allocations: 415 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3511, allocations: 11.98 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.3512, allocations: 38.75 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3513, allocations: 16.88 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3516, allocations: 208.2 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3516, allocations: 8.359 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3516, allocations: 4.375 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.3518, allocations: 98.14 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3519, allocations: 3.938 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3519, allocations: 4 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.3519, allocations: 3.984 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.3521, allocations: 68 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.3527, allocations: 348.5 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.3529, allocations: 70.53 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3531, allocations: 32.86 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3531, allocations: 4 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3531, allocations: 34.5 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3531, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004772/0.3536, allocations: 129.5 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3536, allocations: 51.41 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3537, allocations: 139.5 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3537, allocations: 25.7 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.3538, allocations: 112 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.3538, allocations: 7.891 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.3539, allocations: 17.72 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.354, allocations: 326.8 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3541, allocations: 27.97 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3543, allocations: 35.97 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.3545, allocations: 56.75 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3545, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002843/0.3548, allocations: 101.6 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3548, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3548, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3548, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3549, allocations: 11.98 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3549, allocations: 7.938 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.355, allocations: 15.97 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.355, allocations: 8 kB / 1.325 GB, free: 14.32 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 9.465e-05/0.3551, allocations: 113.8 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3552, allocations: 7.953 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3552, allocations: 12.25 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3552, allocations: 3.938 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3552, allocations: 3.938 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3552, allocations: 0 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3554, allocations: 189.6 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3554, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.3555, allocations: 15.98 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3555, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3555, allocations: 4.188 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3555, allocations: 7.984 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3555, allocations: 11.88 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.3559, allocations: 183.6 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.3559, allocations: 89.09 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3559, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3561, allocations: 15.97 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3561, allocations: 11.92 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3561, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.3562, allocations: 104.8 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 3.938 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000241/0.3565, allocations: 23.89 kB / 1.326 GB, free: 13.43 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.0006889/0.3571, allocations: 0.7202 MB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3574, allocations: 71.88 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3574, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3576, allocations: 31.97 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3579, allocations: 11.94 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.3598, allocations: 1.479 MB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3601, allocations: 0.6962 MB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.3602, allocations: 8 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.3603, allocations: 27.42 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of SimCode: time 5e-07/0.3603, allocations: 0 / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.3863, allocations: 2.213 MB / 1.331 GB, free: 8.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.409, allocations: 9.734 kB / 1.331 GB, free: 8.129 MB / 1.029 GB " [Timeout remaining time 292] (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: 15.179514141986147]