Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002095/0.002095, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.003018/0.003018, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/4.052e-05, allocations: 4.703 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002936/0.002977, allocations: 0.8161 MB / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.004466, allocations: 0.8983 MB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004582, allocations: 7.938 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.004722, allocations: 13.28 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.004775, allocations: 11.86 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.00502, allocations: 28.91 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.005172, allocations: 79.7 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.005297, allocations: 24.61 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.005485, allocations: 47.83 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.005564, allocations: 20.83 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.005588, allocations: 8 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.258e-05/0.005641, allocations: 12.66 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.005666, allocations: 15.91 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.00571, allocations: 16.81 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.00592, allocations: 83.72 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.005924, allocations: 1.25 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005925, allocations: 0 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.00593, allocations: 0 / 0.8129 GB, free: 15.94 MB / 0.7761 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.0006133/0.006544, allocations: 315.7 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006586, allocations: 15.95 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.006777, allocations: 16.89 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.007074, allocations: 150.8 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.007087, allocations: 384 / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.007103, allocations: 5.219 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.007288, allocations: 62.23 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.007297, allocations: 1.062 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.007309, allocations: 384 / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.007319, allocations: 13.52 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.007442, allocations: 31.92 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.007969, allocations: 246.3 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.008152, allocations: 54.48 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.008216, allocations: 21.8 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.008236, allocations: 0 / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.008269, allocations: 31.09 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.008271, allocations: 1.094 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003002/0.008571, allocations: 85.64 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.008631, allocations: 53.22 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.008776, allocations: 136.6 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.008797, allocations: 25.7 kB / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.008879, allocations: 100 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.008898, allocations: 11.88 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.008945, allocations: 19.25 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002523/0.009197, allocations: 322.8 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.009253, allocations: 12 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.009304, allocations: 15.98 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.009395, allocations: 29.12 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009397, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001772/0.009574, allocations: 77.53 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.009591, allocations: 4 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.009595, allocations: 4 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.009613, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.009681, allocations: 4 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.009685, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.009769, allocations: 16.44 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.009779, allocations: 4.5 kB / 0.8147 GB, free: 13.93 MB / 0.7761 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.0001089/0.009888, allocations: 118.4 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.009922, allocations: 9.344 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.009951, allocations: 8.344 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009953, allocations: 0 / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.009961, allocations: 4 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.009962, allocations: 0.5625 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.01014, allocations: 125.2 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01014, allocations: 0.6562 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.01019, allocations: 13.81 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01019, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.0102, allocations: 4 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.0102, allocations: 3.984 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0102, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.01043, allocations: 152.2 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.01045, allocations: 12.61 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.01048, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01059, allocations: 12.8 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.01065, allocations: 7.984 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.01066, allocations: 4.938 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.525e-05/0.01074, allocations: 103.2 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01074, allocations: 1.344 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002331/0.01097, allocations: 15.89 kB / 0.8153 GB, free: 13.3 MB / 0.7761 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.0001518/0.01113, allocations: 100.1 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.01128, allocations: 35.92 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01128, allocations: 2.156 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/0.01134, allocations: 15.98 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.01163, allocations: 19.56 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.01206, allocations: 177.1 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.015e-05/0.01215, allocations: 72.42 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.01219, allocations: 9.266 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.01224, allocations: 12.5 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01224, allocations: 0.5 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.003908/0.01615, allocations: 0.9326 MB / 0.8166 GB, free: 11.92 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.80039933801163]