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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001049/0.00105, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001363/0.001363, allocations: 172.7 kB / 15.95 MB, free: 208 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.591/1.591, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003698, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7965, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001175/0.7978, allocations: 0.5214 MB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.799, allocations: 0.8585 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.7992, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.7993, allocations: 11.86 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.7994, allocations: 11.94 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.7995, allocations: 15.98 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.7996, allocations: 67.77 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.7998, allocations: 19.97 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.7999, allocations: 23.86 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.8, allocations: 23.86 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.8, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.8, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.8, allocations: 11.91 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.8001, allocations: 33.7 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.8002, allocations: 55.81 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.8002, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8002, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8002, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 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.0005454/0.8008, allocations: 392.9 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8008, allocations: 12.56 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.8009, allocations: 11.84 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.8011, allocations: 186.9 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8011, allocations: 8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.8011, allocations: 4 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.8013, allocations: 65.62 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.8013, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.8013, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8013, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.8014, allocations: 39.92 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.8019, allocations: 328.6 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.8021, allocations: 58.58 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.8022, allocations: 24.91 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.8022, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8022, allocations: 30.56 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.8022, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002574/0.8025, allocations: 81.69 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.8025, allocations: 55.41 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.8027, allocations: 139.5 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.8027, allocations: 29.7 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.8028, allocations: 92.14 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.8028, allocations: 7.891 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.8028, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8029, allocations: 322.8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.803, allocations: 19.98 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.803, allocations: 19.98 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.8031, allocations: 12 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8031, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.8032, allocations: 73.58 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8032, allocations: 7.938 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8032, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.8033, allocations: 3.938 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.8033, allocations: 4 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8034, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.8034, allocations: 15.98 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.8035, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.7794 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 9.333e-05/0.8036, allocations: 121.8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.8036, allocations: 11.91 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.8036, allocations: 8.25 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.8036, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8036, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.8037, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.8039, allocations: 189.5 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8039, allocations: 3.938 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.8039, allocations: 7.984 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8039, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8039, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.804, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.804, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.8042, allocations: 163.3 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.8042, allocations: 85.02 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.8042, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.8043, allocations: 23.98 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.8044, allocations: 7.984 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.8044, allocations: 3.984 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.8045, allocations: 100.4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8045, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002249/0.8047, allocations: 8 kB / 1.027 GB, free: 11.34 MB / 0.7794 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.0001462/0.8049, allocations: 103.6 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.805, allocations: 51.89 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.805, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.8051, allocations: 16 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.8054, allocations: 13.7 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.8058, allocations: 188.5 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.8061, allocations: 0.6887 MB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.8062, allocations: 8.188 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.8062, allocations: 7.438 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8062, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.003136/0.8093, allocations: 0.7 MB / 1.028 GB, free: 9.512 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches