Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001931/0.001931, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002226/0.002226, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.094/3.094, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.897e-06/3.897e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.692e-05/5.082e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.003259/0.003309, allocations: 0.7747 MB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.005265, allocations: 0.8913 MB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.005334, allocations: 4 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.005379, allocations: 3.938 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.005516, allocations: 8.75 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.005796, allocations: 49.5 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.005993, allocations: 87.81 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.006145, allocations: 11.98 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.006329, allocations: 55.89 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.006456, allocations: 39.88 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.006497, allocations: 9.531 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.006525, allocations: 8 kB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.006573, allocations: 19.91 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.006634, allocations: 23.92 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.006885, allocations: 96.73 kB / 0.8129 GB, free: 16 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.006891, allocations: 4 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.734e-06/0.006893, allocations: 0 / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.882e-06/0.006899, allocations: 1.5 kB / 0.8129 GB, free: 12 kB / 0.7605 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.001002/0.007901, allocations: 408 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.007955, allocations: 8.031 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.008043, allocations: 17.42 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.008264, allocations: 117.2 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.008295, allocations: 8.375 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.008319, allocations: 4.906 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.008717, allocations: 99.72 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.008733, allocations: 3.938 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008751, allocations: 0 / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.008757, allocations: 0 / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.009163, allocations: 72.58 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.01008, allocations: 340.3 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.01096, allocations: 116.2 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.0112, allocations: 52.38 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.01123, allocations: 4 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.01128, allocations: 34.77 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.01128, allocations: 3.938 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008417/0.01212, allocations: 151.3 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.0122, allocations: 59.41 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.01246, allocations: 189.9 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.0125, allocations: 25.7 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.01266, allocations: 141.1 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.01272, allocations: 23.8 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.01282, allocations: 35.36 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000384/0.01321, allocations: 0.4922 MB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.0134, allocations: 31.97 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.01361, allocations: 39.5 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.01399, allocations: 83.62 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01399, allocations: 0 / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005138/0.01451, allocations: 113.5 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.01453, allocations: 8 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.01454, allocations: 1.125 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.01456, allocations: 0 / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.01479, allocations: 19.97 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01479, allocations: 0.5312 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01492, allocations: 8.531 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.01495, allocations: 8.547 kB / 0.8155 GB, free: 13.15 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 (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.000195/0.01514, allocations: 165.5 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.0152, allocations: 7.953 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.01525, allocations: 12.44 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01525, allocations: 0.9688 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.01526, allocations: 0 / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01526, allocations: 2.312 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.01561, allocations: 160.5 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01561, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.01581, allocations: 23.92 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01581, allocations: 0 / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.01583, allocations: 3.984 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01584, allocations: 4.812 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01584, allocations: 0 / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.01647, allocations: 264.7 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.0165, allocations: 7.953 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.01653, allocations: 1.219 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.0167, allocations: 4 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.01683, allocations: 27.97 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.01685, allocations: 8.891 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000149/0.01699, allocations: 139.2 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01699, allocations: 0.9062 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004353/0.01743, allocations: 19.94 kB / 0.8163 GB, free: 12.25 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: 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.0001858/0.01762, allocations: 100.3 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.01813, allocations: 88.66 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.01814, allocations: 4 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.01841, allocations: 64.69 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.01888, allocations: 17 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.01957, allocations: 178.8 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.01969, allocations: 80.22 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.0198, allocations: 7.406 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.01991, allocations: 25.58 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.01991, allocations: 0 / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.007889/0.0278, allocations: 1.722 MB / 0.8185 GB, free: 9.949 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.34120050596539]