Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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.0009312/0.0009312, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002216, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009103/0.0009103, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002135, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9953/0.9953, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09502/1.09, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.928/1.928, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5425/2.47, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.56e-05, allocations: 5.328 kB / 0.7297 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001854/0.001869, allocations: 0.9037 MB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.002676, allocations: 0.9535 MB / 0.7315 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.002729, allocations: 4 kB / 0.7315 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.246e-05/0.002781, allocations: 14.14 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.002814, allocations: 21.78 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.234e-05/0.002896, allocations: 40.78 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.002991, allocations: 100.4 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.003066, allocations: 35.95 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.003191, allocations: 69.67 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.00324, allocations: 32.59 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.003253, allocations: 11.94 kB / 0.7319 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.003287, allocations: 9.562 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.003302, allocations: 15.94 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.00332, allocations: 16 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.003405, allocations: 63.69 kB / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.003412, allocations: 2.688 kB / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.3e-07/0.003412, allocations: 0 / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.003418, allocations: 0 / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002777/0.003695, allocations: 320.2 kB / 0.7323 GB, free: 1.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.17e-05/0.003717, allocations: 8.031 kB / 0.7323 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.003818, allocations: 94.03 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.003925, allocations: 139.5 kB / 0.7325 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.003931, allocations: 4.375 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.003942, allocations: 8.375 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/0.004027, allocations: 84.56 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-06/0.00403, allocations: 192 / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.004035, allocations: 384 / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00404, allocations: 4.375 kB / 0.7326 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.004069, allocations: 23.44 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.004262, allocations: 205.5 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.224e-05/0.004324, allocations: 40.25 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.00434, allocations: 8.859 kB / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.004349, allocations: 0 / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.004364, allocations: 34.56 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.004366, allocations: 1.219 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 7.702e-05/0.004443, allocations: 53.7 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.004463, allocations: 59.34 kB / 0.733 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.004524, allocations: 130.2 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.004539, allocations: 30.36 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.004576, allocations: 109.1 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.004588, allocations: 7.938 kB / 0.7333 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.004613, allocations: 21.72 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.004684, allocations: 319.3 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.004694, allocations: 4 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.004705, allocations: 4.812 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.004731, allocations: 20.78 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004732, allocations: 0.5 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.228e-05/0.004775, allocations: 50.28 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.004783, allocations: 4 kB / 0.7337 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.004786, allocations: 4.734 kB / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-06/0.004793, allocations: 4 kB / 0.7337 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.004835, allocations: 8.969 kB / 0.7337 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.004838, allocations: 3.984 kB / 0.7337 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.004867, allocations: 17.06 kB / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.004871, allocations: 0 / 0.7337 GB, free: 156 kB / 0.698 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 (5): * Single equations (assignments): 5 * 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 4.881e-05/0.00492, allocations: 114.8 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.004936, allocations: 11.92 kB / 0.7338 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.004954, allocations: 9.406 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004955, allocations: 0 / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.004957, allocations: 192 / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.004959, allocations: 1.688 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.558e-05/0.005055, allocations: 93.86 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.005056, allocations: 4.109 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.00508, allocations: 11.98 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.005089, allocations: 11.89 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00509, allocations: 0.875 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.005094, allocations: 0 / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005094, allocations: 1.188 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005096, allocations: 3.984 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.704e-05/0.005163, allocations: 139.5 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.005177, allocations: 5.188 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.005219, allocations: 19.92 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.005245, allocations: 11.92 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.005248, allocations: 1.25 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.005269, allocations: 28.83 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005269, allocations: 0 / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001064/0.005375, allocations: 9.25 kB / 0.7342 GB, free: 15.64 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 5.658e-05/0.005432, allocations: 80.41 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.184e-05/0.005493, allocations: 21.89 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.005501, allocations: 3.984 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.005538, allocations: 20.86 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.005699, allocations: 124.8 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.006389, allocations: 201.7 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.00642, allocations: 59.34 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.006446, allocations: 5.25 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.006504, allocations: 64.11 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.006505, allocations: 0.7188 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.002252/0.008757, allocations: 1.147 MB / 0.7358 GB, free: 13.9 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002406031824648]