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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007106/0.007107, allocations: 100.9 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 190.4 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 69.12 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3003, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002271/0.3026, allocations: 0.8381 MB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3037, allocations: 0.8663 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.3038, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.3038, allocations: 3.938 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.3039, allocations: 7.922 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.3041, allocations: 35.97 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3042, allocations: 83.67 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3043, allocations: 31.97 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.3044, allocations: 27.92 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.3045, allocations: 43.81 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3046, allocations: 4 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.3046, allocations: 8 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3046, allocations: 19.91 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.3047, allocations: 31.8 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.862e-05/0.3048, allocations: 63.86 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3048, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.22e-07/0.3048, allocations: 4 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3048, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 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.0006423/0.3055, allocations: 391.5 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3055, allocations: 15.97 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.3055, allocations: 8.844 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3057, allocations: 176.2 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3057, allocations: 384 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3058, allocations: 8.375 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.3061, allocations: 113.7 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3061, allocations: 0 / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3061, allocations: 0 / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3061, allocations: 4 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.3065, allocations: 99.89 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3071, allocations: 344.6 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.3078, allocations: 126.5 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.308, allocations: 56.81 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.308, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.308, allocations: 30.56 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.308, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006713/0.3087, allocations: 185.5 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3088, allocations: 59.33 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.3089, allocations: 117.8 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3089, allocations: 33.64 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3089, allocations: 96.03 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.309, allocations: 15.75 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.309, allocations: 29.7 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3091, allocations: 322.7 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3093, allocations: 47.94 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.3095, allocations: 47.95 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.3098, allocations: 96.78 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3098, allocations: 0 / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003987/0.3103, allocations: 137.5 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3103, allocations: 4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3103, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3103, allocations: 4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3105, allocations: 35.91 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3105, allocations: 0.5469 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3106, allocations: 15.92 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3107, allocations: 4 kB / 1.057 GB, free: 3.355 MB / 0.8106 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 9.058e-05/0.3108, allocations: 113.8 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3108, allocations: 7.906 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3108, allocations: 16.38 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3108, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3109, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3109, allocations: 3.938 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3111, allocations: 201.5 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3111, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3113, allocations: 27.95 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.3113, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3113, allocations: 7.938 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3113, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3113, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.3118, allocations: 247.2 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3118, allocations: 85.02 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3118, allocations: 3.984 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.312, allocations: 19.98 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.3121, allocations: 19.97 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.3121, allocations: 3.938 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.3122, allocations: 103.6 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3122, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002495/0.3124, allocations: 12 kB / 1.058 GB, free: 2.406 MB / 0.8106 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.0001326/0.3126, allocations: 95.25 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.313, allocations: 111.8 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.313, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3132, allocations: 63.89 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3136, allocations: 5.375 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.3141, allocations: 217.6 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3143, allocations: 0.7003 MB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.3144, allocations: 15.42 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.3144, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of Templates: time 0.002688/0.3171, allocations: 1.225 MB / 1.06 GB, free: 15.92 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches