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.001405/0.001406, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001825/0.001825, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.991/2.991, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 10.12 kB / 0.9022 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001011/0.3477, allocations: 0.5159 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3489, allocations: 0.8663 MB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.349, allocations: 0 / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3491, allocations: 7.922 kB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.3492, allocations: 15.86 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.3493, allocations: 15.98 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.3494, allocations: 63.78 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3496, allocations: 23.89 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.3497, allocations: 27.91 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.3498, allocations: 23.86 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3498, allocations: 4 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.3498, allocations: 3.938 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.3498, allocations: 7.922 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3499, allocations: 37.64 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.35, allocations: 55.86 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.35, allocations: 4 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.35, allocations: 0 / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.35, allocations: 0 / 1.06 GB, free: 3.637 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.0005716/0.3506, allocations: 384.9 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3506, allocations: 12.03 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3507, allocations: 7.906 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.3509, allocations: 196.8 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3509, allocations: 8 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.351, allocations: 11.89 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3511, allocations: 61.67 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3512, allocations: 0 / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3512, allocations: 0 / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3512, allocations: 4 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3513, allocations: 39.97 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.3519, allocations: 324.6 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3521, allocations: 58.55 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.3521, allocations: 20.95 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3522, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3522, allocations: 34.56 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3522, allocations: 11.94 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002808/0.3525, allocations: 81.66 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3526, allocations: 51.41 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3527, allocations: 135.7 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3527, allocations: 25.7 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3528, allocations: 96.05 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3528, allocations: 15.83 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.3528, allocations: 0 / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3529, allocations: 322.8 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.353, allocations: 19.92 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.353, allocations: 19.98 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.3531, allocations: 12 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3531, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.3533, allocations: 73.67 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3533, allocations: 7.938 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3533, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3533, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.3534, allocations: 4 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3534, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.3535, allocations: 23.89 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3535, allocations: 0 / 1.062 GB, free: 1.398 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 (gre.y,$PRE.greHys.greHys.y,greHys.greHys.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.735e-05/0.3536, allocations: 125.7 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.3536, allocations: 4 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3537, allocations: 8.25 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3537, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3537, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3537, allocations: 336 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.3539, allocations: 181.6 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3539, allocations: 4 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.3539, allocations: 7.984 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3539, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.354, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.354, allocations: 4 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.354, allocations: 3.984 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.3542, allocations: 167.4 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.3542, allocations: 81.02 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3542, allocations: 4 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3543, allocations: 15.98 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.3544, allocations: 11.92 kB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3544, allocations: 3.984 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.3545, allocations: 101.3 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3545, allocations: 4 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002271/0.3547, allocations: 11.94 kB / 1.062 GB, free: 0.5742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.3549, allocations: 99.25 kB / 1.062 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.3551, allocations: 39.97 kB / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3551, allocations: 0 / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/0.3551, allocations: 20 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3554, allocations: 15.94 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.3558, allocations: 194.6 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3562, allocations: 0.6926 MB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.3562, allocations: 4.188 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.3563, allocations: 11.42 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3563, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of Templates: time 0.003005/0.3593, allocations: 0.6993 MB / 1.064 GB, free: 14.75 MB / 0.8262 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/jenkins/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