Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0007733/0.0007733, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001861, allocations: 435.8 kB / 10.33 MB, free: 368 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.001109/0.001109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002485, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9522/0.9522, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/1.077, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.361/2.361, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2446/2.606, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.407e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001103/0.001117, allocations: 0.77 MB / 0.8191 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.001891, allocations: 0.882 MB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.001921, allocations: 0 / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.001947, allocations: 3.938 kB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.001986, allocations: 7.875 kB / 0.8199 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.774e-05/0.002054, allocations: 23.91 kB / 0.82 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.002129, allocations: 43.91 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.002206, allocations: 8 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.002296, allocations: 47.83 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.002348, allocations: 15.98 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.002371, allocations: 4 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.002381, allocations: 4 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.002396, allocations: 7.938 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.002417, allocations: 8 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.047e-05/0.002497, allocations: 31.84 kB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.00251, allocations: 4 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.9e-07/0.00251, allocations: 0 / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.002522, allocations: 0 / 0.8201 GB, free: 1.031 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.0003581/0.00288, allocations: 256.5 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.002911, allocations: 8.625 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.002938, allocations: 8.938 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.003022, allocations: 117.7 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.00304, allocations: 4.312 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.003049, allocations: 4.375 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.003159, allocations: 66.92 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.003168, allocations: 3.938 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003176, allocations: 3.984 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.003179, allocations: 0 / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.00321, allocations: 12 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.003428, allocations: 160.3 kB / 0.8207 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.003497, allocations: 38.56 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.003519, allocations: 16.86 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.003532, allocations: 11.86 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.003551, allocations: 34.56 kB / 0.8208 GB, free: 212 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.003552, allocations: 0 / 0.8208 GB, free: 212 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001156/0.003668, allocations: 49.62 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.003697, allocations: 55.41 kB / 0.8209 GB, free: 88 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.003765, allocations: 114.7 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.003776, allocations: 25.7 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.003809, allocations: 92.09 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.003827, allocations: 11.92 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.003856, allocations: 13.72 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.003931, allocations: 318.8 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.003942, allocations: 3.984 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.003953, allocations: 4 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.003986, allocations: 29.11 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.003988, allocations: 4 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.107e-05/0.004039, allocations: 53.56 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.004049, allocations: 4 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004055, allocations: 4 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.004062, allocations: 0 / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.004139, allocations: 11.98 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004142, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.004164, allocations: 7.984 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.004168, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 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,addPar.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.786e-05/0.004226, allocations: 109.8 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.004241, allocations: 7.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.00426, allocations: 8 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004261, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.004264, allocations: 4 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.004267, allocations: 3.984 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.004631, allocations: 77.78 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004632, allocations: 0 / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.004667, allocations: 11.98 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.004674, allocations: 4 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.004677, allocations: 11.86 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.004682, allocations: 8 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.004683, allocations: 3.938 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.004684, allocations: 0 / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.532e-05/0.004759, allocations: 139.6 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.004768, allocations: 3.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.004805, allocations: 7.984 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.004842, allocations: 7.984 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.004846, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.118e-05/0.004857, allocations: 8.859 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004857, allocations: 0 / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001124/0.004969, allocations: 16 kB / 0.822 GB, free: 14.88 MB / 0.8073 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 (addPar.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 5.856e-05/0.005028, allocations: 76.41 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.005091, allocations: 32.78 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.005095, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.005116, allocations: 12.86 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.005246, allocations: 19.97 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.005588, allocations: 132.7 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.005623, allocations: 55.36 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.005649, allocations: 4 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.005702, allocations: 55.36 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.005702, allocations: 0 / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.002293/0.007995, allocations: 0.996 MB / 0.8234 GB, free: 13.46 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03617518953979]