Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001786/0.001786, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.002467/0.002467, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.376/3.376, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0.7656 kB / 0.8776 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.638e-05, allocations: 7.094 kB / 0.8776 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002289/0.002316, allocations: 0.704 MB / 0.8783 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003631, allocations: 0.852 MB / 0.8791 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.003677, allocations: 0.9375 kB / 0.8791 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.003706, allocations: 0 / 0.8791 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-05/0.003781, allocations: 7.219 kB / 0.8791 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.003949, allocations: 27.91 kB / 0.8792 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.004053, allocations: 47.73 kB / 0.8792 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004153, allocations: 12.98 kB / 0.8792 GB, free: 3.711 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.004253, allocations: 31.97 kB / 0.8792 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.004316, allocations: 15.92 kB / 0.8793 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.004338, allocations: 5.125 kB / 0.8793 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.004351, allocations: 4 kB / 0.8793 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.004376, allocations: 11.98 kB / 0.8793 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.004417, allocations: 21.16 kB / 0.8793 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.004535, allocations: 43.92 kB / 0.8793 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004538, allocations: 0 / 0.8793 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004538, allocations: 0.7188 kB / 0.8793 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004542, allocations: 0 / 0.8793 GB, free: 3.582 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005975/0.00514, allocations: 279.9 kB / 0.8796 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.005185, allocations: 15.97 kB / 0.8796 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.005242, allocations: 8.891 kB / 0.8796 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005413, allocations: 126.1 kB / 0.8798 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.005431, allocations: 384 / 0.8798 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.005449, allocations: 5.875 kB / 0.8798 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.005688, allocations: 66.2 kB / 0.8798 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.0057, allocations: 3.938 kB / 0.8798 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.005713, allocations: 4.688 kB / 0.8798 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005718, allocations: 4 kB / 0.8798 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.005972, allocations: 49.28 kB / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.006445, allocations: 230.1 kB / 0.8801 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.006681, allocations: 66.47 kB / 0.8802 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.006812, allocations: 25.67 kB / 0.8802 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.006834, allocations: 5.562 kB / 0.8802 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.006872, allocations: 34.55 kB / 0.8802 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006873, allocations: 0 / 0.8802 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0004916/0.007365, allocations: 116.5 kB / 0.8803 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.007413, allocations: 51.41 kB / 0.8804 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.007532, allocations: 109.8 kB / 0.8805 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.007558, allocations: 29.7 kB / 0.8805 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.007624, allocations: 80.14 kB / 0.8806 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.007653, allocations: 19.84 kB / 0.8806 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.007714, allocations: 21.7 kB / 0.8806 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.0079, allocations: 314.8 kB / 0.8809 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.008019, allocations: 23.97 kB / 0.881 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.008121, allocations: 19.98 kB / 0.881 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.008343, allocations: 52.81 kB / 0.881 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.008347, allocations: 3.938 kB / 0.881 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003007/0.008648, allocations: 93.58 kB / 0.8811 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.008663, allocations: 4 kB / 0.8811 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.008667, allocations: 0 / 0.8811 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.008685, allocations: 0 / 0.8811 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.008818, allocations: 15.98 kB / 0.8811 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.008824, allocations: 3.938 kB / 0.8811 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.00891, allocations: 11.98 kB / 0.8812 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.008917, allocations: 0 / 0.8812 GB, free: 1.562 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.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.000113/0.00903, allocations: 117.8 kB / 0.8813 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.009065, allocations: 11.95 kB / 0.8813 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.009096, allocations: 11.98 kB / 0.8813 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009098, allocations: 336 / 0.8813 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009103, allocations: 0 / 0.8813 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009105, allocations: 0 / 0.8813 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.00929, allocations: 121.4 kB / 0.8814 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.009298, allocations: 11.86 kB / 0.8814 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.009395, allocations: 11.98 kB / 0.8814 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.009397, allocations: 0 / 0.8814 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.009406, allocations: 0 / 0.8814 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009407, allocations: 0 / 0.8814 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009408, allocations: 4 kB / 0.8814 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.009779, allocations: 183.5 kB / 0.8816 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.009792, allocations: 3.938 kB / 0.8816 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.009811, allocations: 3.984 kB / 0.8816 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.009927, allocations: 8 kB / 0.8816 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.00999, allocations: 7.984 kB / 0.8816 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01, allocations: 7.984 kB / 0.8816 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.01007, allocations: 87.58 kB / 0.8817 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.01007, allocations: 4 kB / 0.8817 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002391/0.01031, allocations: 11.94 kB / 0.8817 GB, free: 0.9062 MB / 0.7917 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * 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 0.0001266/0.01043, allocations: 95.25 kB / 0.8818 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.01072, allocations: 55.94 kB / 0.8819 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01073, allocations: 0 / 0.8819 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.01085, allocations: 31.97 kB / 0.8819 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.01116, allocations: 13.66 kB / 0.8819 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.01157, allocations: 136.5 kB / 0.8821 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/0.01165, allocations: 67.28 kB / 0.8821 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.0117, allocations: 4 kB / 0.8821 GB, free: 468 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.01175, allocations: 16.48 kB / 0.8821 GB, free: 452 kB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/0.01176, allocations: 7.938 kB / 0.8821 GB, free: 444 kB / 0.7917 GB Notification: Performance of Templates: time 0.003973/0.01573, allocations: 0.9753 MB / 0.8831 GB, free: 15.47 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.426123759010807]