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: 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.008286/0.008286, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001402/0.001403, allocations: 206 kB / 16.68 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.577/1.577, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.77/2.77, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.378, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002406/0.3804, allocations: 0.8133 MB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3818, allocations: 0.8819 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.3819, allocations: 7.938 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3821, allocations: 7.875 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.3822, allocations: 7.875 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.3824, allocations: 23.97 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3826, allocations: 83.7 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3827, allocations: 27.94 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3828, allocations: 35.84 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3829, allocations: 31.84 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.383, allocations: 4 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.383, allocations: 4 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.383, allocations: 15.92 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.3831, allocations: 27.86 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3833, allocations: 83.56 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3833, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3833, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3833, allocations: 0 / 1.169 GB, free: 4.699 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.0006398/0.3839, allocations: 403 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.384, allocations: 8.031 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.384, allocations: 8.891 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.3844, allocations: 200.2 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3844, allocations: 8.375 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3844, allocations: 384 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3846, allocations: 70.16 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3846, allocations: 192 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3846, allocations: 7.938 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3846, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3848, allocations: 27.98 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.3853, allocations: 320.7 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.3855, allocations: 42.56 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.3855, allocations: 21 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3856, allocations: 4 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3856, allocations: 34.56 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 3.046e-06/0.3856, allocations: 96 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002739/0.3859, allocations: 73.56 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3859, allocations: 59.34 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.386, allocations: 135.2 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3861, allocations: 25.7 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.3861, allocations: 104.1 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3862, allocations: 7.891 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3862, allocations: 21.7 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3863, allocations: 322.8 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.3864, allocations: 19.92 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.3864, allocations: 15.98 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.3865, allocations: 33.05 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3865, allocations: 0 / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001708/0.3867, allocations: 69.64 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3868, allocations: 4 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3868, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3868, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.3869, allocations: 3.984 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3869, allocations: 4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.387, allocations: 7.984 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.387, allocations: 4 kB / 1.171 GB, free: 2.445 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 9.268e-05/0.3871, allocations: 117.8 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.3871, allocations: 11.95 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.3872, allocations: 12.23 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3872, allocations: 3.938 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3872, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3872, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3874, allocations: 185.6 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3874, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.3874, allocations: 4 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3874, allocations: 4 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3875, allocations: 4 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3875, allocations: 4 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3875, allocations: 3.984 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.3877, allocations: 159.4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.3877, allocations: 85.05 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3878, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3879, allocations: 15.98 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3879, allocations: 11.92 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3879, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.388, allocations: 109.4 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.388, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002282/0.3883, allocations: 15.94 kB / 1.171 GB, free: 1.613 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.0001529/0.3884, allocations: 99.25 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3886, allocations: 39.97 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3886, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.3887, allocations: 15.98 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3889, allocations: 8 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.3893, allocations: 181.2 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3896, allocations: 0.6962 MB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.3897, allocations: 4.281 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.3897, allocations: 11.44 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.3897, allocations: 0 / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of Templates: time 0.003338/0.393, allocations: 0.8548 MB / 1.173 GB, free: 15.66 MB / 0.9356 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