Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001622/0.001622, allocations: 110.4 kB / 18.94 MB, free: 2.949 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: 221.9 kB / 22.26 MB, free: 5.125 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.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.254/3.254, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002009/0.002009, allocations: 69.41 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002271/0.3373, allocations: 0.8341 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3386, allocations: 0.9211 MB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.3387, allocations: 7.938 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3388, allocations: 11.86 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.3389, allocations: 7.875 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.3391, allocations: 39.89 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3393, allocations: 67.89 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3394, allocations: 20.27 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3395, allocations: 47.73 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.229e-05/0.3396, allocations: 35.78 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3396, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.3396, allocations: 8 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.3397, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3397, allocations: 35.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.3399, allocations: 87.55 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3399, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3399, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3399, allocations: 0 / 1.328 GB, free: 15.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005472/0.3404, allocations: 322 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3405, allocations: 12.02 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.3405, allocations: 34.75 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3406, allocations: 16.88 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3409, allocations: 146.3 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.3409, allocations: 4.375 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3409, allocations: 384 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3411, allocations: 66.23 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3411, allocations: 7.938 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3411, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3411, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3412, allocations: 35.92 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3417, allocations: 291.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3418, allocations: 46.58 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.3419, allocations: 21 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3419, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3419, allocations: 34.56 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3419, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000255/0.3422, allocations: 81.75 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3422, allocations: 51.41 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3423, allocations: 135.4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3424, allocations: 25.7 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3424, allocations: 104.1 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.3424, allocations: 7.891 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3425, allocations: 17.72 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3426, allocations: 330.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.3427, allocations: 15.98 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.3427, allocations: 15.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.3428, allocations: 24.84 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3428, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001662/0.343, allocations: 73.56 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.343, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.343, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.343, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.3431, allocations: 11.98 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3431, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.3431, allocations: 19.92 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3431, allocations: 3.938 kB / 1.33 GB, free: 13.63 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 (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.785e-05/0.3432, allocations: 113.8 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.3433, allocations: 7.953 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.3433, allocations: 12.34 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3433, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3433, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3433, allocations: 3.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3435, allocations: 152.7 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3435, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.3435, allocations: 8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3435, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3435, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3435, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.3436, allocations: 7.938 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.3437, allocations: 163.4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.3438, allocations: 7.891 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3438, allocations: 3.984 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.3439, allocations: 11.98 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.3439, allocations: 11.98 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.3439, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.569e-05/0.344, allocations: 116.4 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002186/0.3442, allocations: 7.938 kB / 1.331 GB, free: 12.93 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 (3): * Single equations (assignments): 3 * 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.0004818/0.3447, allocations: 0.6929 MB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.3448, allocations: 44.19 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3448, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.3449, allocations: 15.98 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3452, allocations: 17.33 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3466, allocations: 1.375 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3469, allocations: 0.6924 MB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.3469, allocations: 4 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.347, allocations: 23.42 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.347, allocations: 0 / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3748, allocations: 2.111 MB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 9.781 kB / 1.335 GB, free: 7.969 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.746745623182505]