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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006543/0.006544, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001163/0.001163, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.69 kB / 0.8991 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3358, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002369/0.3382, allocations: 0.8702 MB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3393, allocations: 0.8701 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3395, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3397, allocations: 11.86 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.3397, allocations: 3.938 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.3399, allocations: 27.97 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3401, allocations: 75.78 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3402, allocations: 31.83 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3403, allocations: 27.91 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.3404, allocations: 31.8 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3404, allocations: 4 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3404, allocations: 4 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.3405, allocations: 3.984 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.3405, allocations: 27.81 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.639e-05/0.3406, allocations: 64.14 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3406, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3406, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3406, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 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.0005798/0.3412, allocations: 395.1 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3413, allocations: 12.03 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3413, allocations: 8.844 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3416, allocations: 193.9 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3416, allocations: 8.312 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3416, allocations: 8.375 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3418, allocations: 58.23 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3418, allocations: 192 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3418, allocations: 7.875 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3418, allocations: 8 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.342, allocations: 39.97 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.3426, allocations: 316.6 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3428, allocations: 58.53 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.3429, allocations: 16.92 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.343, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.343, allocations: 30.56 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.343, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003685/0.3434, allocations: 81.69 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3435, allocations: 55.41 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3436, allocations: 131.4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3436, allocations: 25.7 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.3437, allocations: 104 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.3438, allocations: 11.91 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3438, allocations: 13.72 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3439, allocations: 322.8 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.344, allocations: 16 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.3441, allocations: 15.98 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.3442, allocations: 32.84 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3442, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001594/0.3443, allocations: 69.52 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3444, allocations: 8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3444, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3444, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.3445, allocations: 8 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3445, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.3446, allocations: 7.984 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3446, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 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 0.0001114/0.3447, allocations: 121.8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.3448, allocations: 7.906 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.3448, allocations: 12.19 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3448, allocations: 3.938 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3448, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3448, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3451, allocations: 185.6 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3451, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.3451, allocations: 3.984 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3451, allocations: 4 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3452, allocations: 3.938 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3452, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3452, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3454, allocations: 163.7 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.3455, allocations: 81.11 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3455, allocations: 4 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.3456, allocations: 7.984 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.3457, allocations: 16.02 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3457, allocations: 4 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.075e-05/0.3458, allocations: 108.4 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3458, allocations: 0 / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002335/0.346, allocations: 15.94 kB / 1.057 GB, free: 3.129 MB / 0.8106 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.0002108/0.3462, allocations: 99.25 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.3464, allocations: 39.91 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3464, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.3465, allocations: 16 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3469, allocations: 13.31 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.3475, allocations: 214 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.3479, allocations: 0.6887 MB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3479, allocations: 15.38 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3479, allocations: 4 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of Templates: time 0.003054/0.351, allocations: 0.9554 MB / 1.059 GB, free: 1.031 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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