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.001883/0.001883, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001994/0.001994, allocations: 165.3 kB / 23.56 MB, free: 0.8672 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.189/3.189, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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 1.874e-06/1.874e-06, allocations: 0 / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.905e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002076/0.002105, allocations: 0.8143 MB / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.003474, allocations: 0.9101 MB / 0.8126 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.003553, allocations: 4 kB / 0.8126 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.003705, allocations: 12.38 kB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.003754, allocations: 16.77 kB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.003956, allocations: 28.84 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.004092, allocations: 79.77 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.00421, allocations: 24.48 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.004387, allocations: 43.89 kB / 0.8128 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.004456, allocations: 20.7 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.004478, allocations: 4 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.57e-05/0.004524, allocations: 13.59 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.004547, allocations: 11.92 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.004582, allocations: 27.86 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004766, allocations: 79.72 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.004771, allocations: 4.969 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004772, allocations: 0 / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.004776, allocations: 0 / 0.8129 GB, free: 15.97 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.0006355/0.005412, allocations: 412.7 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005447, allocations: 9.719 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.005617, allocations: 20.89 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.005848, allocations: 146 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.005861, allocations: 4.375 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.005875, allocations: 8.312 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006028, allocations: 62.17 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.006038, allocations: 0.9688 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.006051, allocations: 4.375 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.006055, allocations: 1.531 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.006179, allocations: 35.91 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.00672, allocations: 317 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.006886, allocations: 51.05 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.006946, allocations: 29.47 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.006965, allocations: 3.938 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.006996, allocations: 33.39 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006997, allocations: 0 / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002602/0.007257, allocations: 70.41 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.007307, allocations: 55.41 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.007506, allocations: 204.5 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.007531, allocations: 25.7 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.007639, allocations: 155.3 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.007659, allocations: 7.953 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.007713, allocations: 31.92 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002822/0.007995, allocations: 0.4897 MB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.008052, allocations: 19.92 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.008093, allocations: 12 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.392e-05/0.008177, allocations: 26.27 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008179, allocations: 4 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.008322, allocations: 61.62 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.008346, allocations: 4 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.008353, allocations: 0 / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.008368, allocations: 4 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.008435, allocations: 3.984 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.008441, allocations: 4.469 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.008499, allocations: 12.67 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.008505, allocations: 4 kB / 0.8152 GB, free: 13.48 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.0001338/0.008639, allocations: 162.8 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.008671, allocations: 7.938 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.008705, allocations: 12.33 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008707, allocations: 0 / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.008713, allocations: 4 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.008715, allocations: 0.5 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.00891, allocations: 145.2 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008911, allocations: 4 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.008946, allocations: 0.625 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.008951, allocations: 5.062 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.008964, allocations: 4 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008965, allocations: 0 / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008966, allocations: 1.031 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.009204, allocations: 212.1 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.009225, allocations: 11.92 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.009243, allocations: 4.844 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.009328, allocations: 7.984 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.009383, allocations: 14.2 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.009388, allocations: 0 / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001198/0.009507, allocations: 152.6 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009508, allocations: 0 / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000218/0.009725, allocations: 11.95 kB / 0.8159 GB, free: 12.68 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.0001354/0.009861, allocations: 106 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.01002, allocations: 35.67 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01002, allocations: 4 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.01008, allocations: 23.62 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01034, allocations: 14.16 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.01077, allocations: 183.4 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.01086, allocations: 75.83 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.01089, allocations: 6.594 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.01093, allocations: 8.5 kB / 0.8163 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01093, allocations: 0 / 0.8163 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.004088/0.01502, allocations: 0.9307 MB / 0.8172 GB, free: 11.28 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] 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: 8.339104648097418]