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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007883/0.0007883, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8514/0.8514, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.722/1.722, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.976e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001222/0.001242, allocations: 0.7923 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.002047, allocations: 0.91 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.002118, allocations: 11.88 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.002228, allocations: 11.86 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.002256, allocations: 7.938 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.002437, allocations: 31.91 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.002535, allocations: 79.77 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.002645, allocations: 23.92 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.002771, allocations: 51.77 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.002829, allocations: 23.92 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.002844, allocations: 4 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.832e-05/0.002883, allocations: 11.98 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.002896, allocations: 7.984 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.002921, allocations: 23.92 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003043, allocations: 75.73 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003045, allocations: 4 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003046, allocations: 8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00305, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 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.0003917/0.003442, allocations: 310 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.003476, allocations: 9.344 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.003581, allocations: 20.88 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.003759, allocations: 153.5 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.003769, allocations: 4.375 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.003778, allocations: 4.375 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.003886, allocations: 62.23 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.003894, allocations: 192 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.003903, allocations: 4.375 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.003907, allocations: 384 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.00398, allocations: 31.92 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.00429, allocations: 248.4 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.807e-05/0.004388, allocations: 58.58 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.004421, allocations: 20.86 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.004436, allocations: 4.078 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.004453, allocations: 30.56 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.004453, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001789/0.004632, allocations: 73.62 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.004658, allocations: 51.41 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.004732, allocations: 139.4 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.004745, allocations: 37.7 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.00479, allocations: 100.1 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.004805, allocations: 7.891 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.004833, allocations: 21.66 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.004906, allocations: 322.8 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.004937, allocations: 15.98 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.00496, allocations: 12 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.005008, allocations: 24.84 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005009, allocations: 0 / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.257e-05/0.005092, allocations: 77.56 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.005102, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.005106, allocations: 0 / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.005118, allocations: 0 / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.005164, allocations: 12.25 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005168, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.005203, allocations: 11.98 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.005208, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 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 5.746e-05/0.005266, allocations: 113.8 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.005282, allocations: 15.89 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.005304, allocations: 16.27 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005306, allocations: 4 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.00531, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005313, allocations: 0 / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.387e-05/0.005406, allocations: 125.3 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005407, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.005425, allocations: 11.92 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005425, allocations: 0 / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.005432, allocations: 0 / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005432, allocations: 0 / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005433, allocations: 4 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.005536, allocations: 155.4 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.005545, allocations: 11.94 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.005558, allocations: 0 / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.005607, allocations: 11.98 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.005642, allocations: 7.984 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005645, allocations: 0 / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.005688, allocations: 105.4 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005688, allocations: 4 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001465/0.005834, allocations: 15.95 kB / 1.005 GB, free: 8.199 MB / 0.9636 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 7.13e-05/0.005906, allocations: 95.25 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.006001, allocations: 31.98 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006002, allocations: 3.938 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.006032, allocations: 19.92 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.006213, allocations: 8 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.006495, allocations: 200.7 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.006542, allocations: 73.39 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.006574, allocations: 16.48 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.006575, allocations: 0 / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of Templates: time 0.001673/0.008248, allocations: 1.006 MB / 1.007 GB, free: 6.699 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.311044914647937]