Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001409/0.001409, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001717/0.001717, allocations: 168.1 kB / 22.46 MB, free: 5.379 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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.043/3.043, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 3.938 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.761e-05/4.085e-05, allocations: 6.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002832/0.002873, allocations: 0.7576 MB / 1.001 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.004498, allocations: 0.8821 MB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.004569, allocations: 8 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.004623, allocations: 11.86 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004727, allocations: 7.875 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.004962, allocations: 43.88 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.005136, allocations: 87.77 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.00528, allocations: 19.97 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.005434, allocations: 43.91 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.005559, allocations: 39.94 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.005596, allocations: 11.94 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.005621, allocations: 8 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.005663, allocations: 19.97 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.005726, allocations: 27.92 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.00595, allocations: 99.62 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.005953, allocations: 4 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005955, allocations: 0 / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005961, allocations: 0 / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009071/0.006868, allocations: 314.1 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/0.006935, allocations: 8.031 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.006995, allocations: 12.84 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.00718, allocations: 121.6 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.007207, allocations: 4.375 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.007248, allocations: 12.31 kB / 1.003 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.00771, allocations: 110.1 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.007724, allocations: 3.938 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.007742, allocations: 0 / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.007755, allocations: 7.984 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.008336, allocations: 95.91 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.009184, allocations: 276.3 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.0102, allocations: 110.5 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.01055, allocations: 56.88 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.01059, allocations: 8 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.01063, allocations: 30.56 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.01063, allocations: 3.938 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.001135/0.01177, allocations: 181.5 kB / 1.003 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.01182, allocations: 51.41 kB / 1.004 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01199, allocations: 129.8 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.01202, allocations: 25.7 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01215, allocations: 96.08 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.01219, allocations: 19.84 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.01227, allocations: 21.7 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002418/0.01251, allocations: 326.8 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.01286, allocations: 43.95 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.01313, allocations: 47.94 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.01369, allocations: 96.78 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01369, allocations: 0 / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006405/0.01433, allocations: 141.5 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01435, allocations: 4 kB / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01436, allocations: 4 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01438, allocations: 0 / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.01465, allocations: 31.91 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01466, allocations: 0 / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.01483, allocations: 11.98 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01485, allocations: 3.984 kB / 1.004 GB, free: 2.672 MB / 0.9512 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 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001534/0.015, allocations: 117.8 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.01505, allocations: 7.953 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.01509, allocations: 12.44 kB / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.0151, allocations: 0 / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.01511, allocations: 8 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01511, allocations: 7.922 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.01538, allocations: 137.2 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01539, allocations: 0 / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.0156, allocations: 23.97 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0156, allocations: 0 / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.01563, allocations: 7.984 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01563, allocations: 0 / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01563, allocations: 4 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/0.0164, allocations: 235.9 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.01644, allocations: 3.953 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.01647, allocations: 4 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.0167, allocations: 11.98 kB / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.01684, allocations: 23.97 kB / 1.005 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.01686, allocations: 7.922 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.817e-05/0.01696, allocations: 95.28 kB / 1.005 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01696, allocations: 0 / 1.005 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004417/0.0174, allocations: 19.88 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000209/0.01761, allocations: 103.2 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007585/0.01837, allocations: 95.91 kB / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01837, allocations: 8 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.01876, allocations: 64.11 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.01933, allocations: 12.09 kB / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.02008, allocations: 181.4 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.0202, allocations: 75.33 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.02031, allocations: 15.94 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.02042, allocations: 16.48 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of SimCode: time 8.92e-07/0.02042, allocations: 0 / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of Templates: time 0.007934/0.02836, allocations: 1.702 MB / 1.007 GB, free: 15.59 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.57594832032919]