Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.004528/0.004528, allocations: 99.23 kB / 15.73 MB, free: 6.004 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.001352/0.001352, allocations: 191.8 kB / 16.67 MB, free: 5.922 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.602/2.602, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 70.83 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3105, allocations: 162.3 MB / 1.242 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001821/0.3124, allocations: 0.8231 MB / 1.243 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.3133, allocations: 0.8663 MB / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.3134, allocations: 7.938 kB / 1.244 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.3135, allocations: 11.86 kB / 1.244 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.026e-05/0.3136, allocations: 7.875 kB / 1.244 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3137, allocations: 23.97 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3138, allocations: 75.72 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3139, allocations: 35.97 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.314, allocations: 31.86 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.3141, allocations: 31.84 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3141, allocations: 4 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3141, allocations: 4 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3142, allocations: 19.88 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.3142, allocations: 35.78 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3143, allocations: 71.97 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3143, allocations: 0 / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3144, allocations: 0 / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3144, allocations: 0 / 1.244 GB, free: 6.793 MB / 0.9669 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.0005141/0.3149, allocations: 399 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3149, allocations: 8.031 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.315, allocations: 42.73 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.315, allocations: 8.891 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3152, allocations: 198.1 kB / 1.245 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.3152, allocations: 8.312 kB / 1.245 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3153, allocations: 8.375 kB / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3154, allocations: 58.23 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3154, allocations: 3.938 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3154, allocations: 0 / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3154, allocations: 4 kB / 1.245 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3155, allocations: 35.97 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.316, allocations: 316.7 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3162, allocations: 62.52 kB / 1.245 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.3162, allocations: 17 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3162, allocations: 7.984 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3163, allocations: 34.5 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3163, allocations: 0 / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002298/0.3165, allocations: 73.62 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3165, allocations: 51.41 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3167, allocations: 133.8 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3167, allocations: 25.7 kB / 1.245 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.3167, allocations: 100.1 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3168, allocations: 19.88 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.3168, allocations: 13.72 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3169, allocations: 326.7 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.317, allocations: 15.98 kB / 1.246 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.317, allocations: 13.48 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.3171, allocations: 36.84 kB / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3171, allocations: 3.984 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.3173, allocations: 61.64 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3173, allocations: 9.562 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3173, allocations: 0 / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3173, allocations: 0 / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.3174, allocations: 11.92 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3174, allocations: 0 / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.3175, allocations: 11.98 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3175, allocations: 7.938 kB / 1.246 GB, free: 4.477 MB / 0.9669 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 7.69e-05/0.3175, allocations: 113.8 kB / 1.246 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3176, allocations: 7.953 kB / 1.246 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.3176, allocations: 8.25 kB / 1.246 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3176, allocations: 0 / 1.246 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.3176, allocations: 0 / 1.246 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3176, allocations: 3.984 kB / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.3178, allocations: 189.6 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3178, allocations: 0 / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.3179, allocations: 4 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3179, allocations: 0 / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3179, allocations: 4 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3179, allocations: 3.938 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3179, allocations: 0 / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.3181, allocations: 163.4 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3181, allocations: 93.05 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3181, allocations: 0 / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.3182, allocations: 7.984 kB / 1.247 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.3183, allocations: 11.98 kB / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3183, allocations: 4.375 kB / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.3184, allocations: 105.2 kB / 1.247 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3184, allocations: 3.938 kB / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002034/0.3186, allocations: 8 kB / 1.247 GB, free: 3.664 MB / 0.9669 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.0004604/0.319, allocations: 0.6934 MB / 1.247 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.3192, allocations: 39.91 kB / 1.247 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3192, allocations: 4 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.3193, allocations: 12 kB / 1.247 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3195, allocations: 17.53 kB / 1.247 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3208, allocations: 1.389 MB / 1.249 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3211, allocations: 0.6885 MB / 1.249 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.3211, allocations: 4 kB / 1.249 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.3212, allocations: 27.42 kB / 1.249 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3212, allocations: 4 kB / 1.249 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.267/1.588, allocations: 1.976 MB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.38, allocations: 10.81 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches