Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005222/0.005222, allocations: 101.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 199 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3376, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002244/0.3399, allocations: 0.8154 MB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3412, allocations: 0.8741 MB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3413, allocations: 0 / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.3415, allocations: 11.88 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.3416, allocations: 11.86 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3418, allocations: 31.91 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3419, allocations: 75.78 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3421, allocations: 27.98 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3422, allocations: 39.78 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.3423, allocations: 27.84 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3423, allocations: 8 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.3423, allocations: 4 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.3424, allocations: 15.92 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.3424, allocations: 23.88 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.3426, allocations: 90.48 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3426, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3426, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3426, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 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.0005862/0.3432, allocations: 380 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3432, allocations: 12.03 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.3433, allocations: 38.75 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.3433, allocations: 8.844 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3436, allocations: 212 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3436, allocations: 4.375 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3437, allocations: 8.375 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3438, allocations: 62.17 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3438, allocations: 3.938 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3439, allocations: 4 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3439, allocations: 0 / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.344, allocations: 39.92 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.3445, allocations: 316.6 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3447, allocations: 50.59 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.3447, allocations: 21 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3448, allocations: 4 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3448, allocations: 30.56 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.865e-06/0.3448, allocations: 0 / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002641/0.3451, allocations: 73.55 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3451, allocations: 55.41 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3452, allocations: 139.4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3453, allocations: 29.7 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.3453, allocations: 96.14 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3453, allocations: 7.906 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3454, allocations: 21.7 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3455, allocations: 314.8 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.3456, allocations: 15.98 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.3456, allocations: 19.98 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.3457, allocations: 29.12 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3457, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.3459, allocations: 73.5 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3459, allocations: 8 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3459, allocations: 0 / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3459, allocations: 0 / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.346, allocations: 4 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.346, allocations: 3.984 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.3461, allocations: 7.984 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3461, allocations: 7.938 kB / 1.17 GB, free: 2.895 MB / 0.92 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 8.392e-05/0.3462, allocations: 117.8 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.3462, allocations: 3.906 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.3462, allocations: 16.23 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3463, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3463, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3463, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3465, allocations: 189.6 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3465, allocations: 3.938 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.3465, allocations: 4 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3465, allocations: 4 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3465, allocations: 7.984 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3465, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3466, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3467, allocations: 163.3 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.3468, allocations: 81.02 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3468, allocations: 8 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.3469, allocations: 15.92 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.347, allocations: 7.984 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.347, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.347, allocations: 109.2 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3471, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000226/0.3473, allocations: 11.94 kB / 1.171 GB, free: 2.066 MB / 0.92 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.0004931/0.3478, allocations: 0.7006 MB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3479, allocations: 31.98 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.348, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.348, allocations: 19.98 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3483, allocations: 7.938 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3497, allocations: 1.386 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.35, allocations: 0.6963 MB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.35, allocations: 7.984 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3501, allocations: 19.44 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3501, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.3685, allocations: 1.977 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.976, allocations: 23.09 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gre.u,gre.t,gre.y,greHys.y Variables in the result:gre.h,gre.pre_y_start,gre.t,gre.u,gre.y,greHys.h,greHys.pre_y_start,greHys.t,greHys.u,greHys.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time