Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007806/0.007806, allocations: 101.8 kB / 15.88 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.001885/0.001885, allocations: 193 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.854/2.854, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.08 kB / 0.8991 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3037, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002207/0.3059, allocations: 0.7612 MB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.3069, allocations: 0.8001 MB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.307, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.307, allocations: 3.984 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.3072, allocations: 15.86 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.609e-05/0.3072, allocations: 11.98 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.3073, allocations: 39.86 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3075, allocations: 12 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.3075, allocations: 19.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.3076, allocations: 19.91 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3076, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.3077, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3077, allocations: 0 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.3077, allocations: 23.86 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.517e-05/0.3078, allocations: 31.94 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3078, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.3078, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3078, allocations: 4 kB / 1.054 GB, free: 6.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005411/0.3084, allocations: 363.6 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3084, allocations: 11.97 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3085, allocations: 4.938 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3086, allocations: 168.2 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3086, allocations: 12.38 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3086, allocations: 4.312 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3089, allocations: 78.14 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3089, allocations: 192 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3089, allocations: 3.938 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3089, allocations: 4 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3092, allocations: 59.92 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3096, allocations: 265 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.3098, allocations: 66.41 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3099, allocations: 40.92 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.31, allocations: 7.984 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.31, allocations: 30.56 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.31, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005122/0.3105, allocations: 125.5 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3106, allocations: 55.41 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.3107, allocations: 113.8 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3107, allocations: 25.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.3107, allocations: 88.12 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3108, allocations: 11.81 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3108, allocations: 21.66 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3109, allocations: 310.8 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3111, allocations: 35.95 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3112, allocations: 31.97 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.3115, allocations: 64.78 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3115, allocations: 3.938 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.3118, allocations: 97.62 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3118, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3118, allocations: 7.938 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3118, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.312, allocations: 19.97 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.312, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.3121, allocations: 15.98 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3121, allocations: 0 / 1.057 GB, free: 4.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.955e-05/0.3122, allocations: 113.8 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3122, allocations: 3.906 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.3122, allocations: 11.91 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3122, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3123, allocations: 3.984 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3123, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3124, allocations: 169.6 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3125, allocations: 4 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.3126, allocations: 15.98 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3126, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3126, allocations: 3.938 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3126, allocations: 4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3126, allocations: 0 / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.3129, allocations: 203.7 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.313, allocations: 92.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.313, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.3131, allocations: 7.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.3132, allocations: 7.984 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3132, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.3132, allocations: 91.27 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3132, allocations: 4 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002184/0.3135, allocations: 4 kB / 1.057 GB, free: 3.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001684/0.3136, allocations: 103.2 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.314, allocations: 63.92 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.314, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3141, allocations: 43.91 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3145, allocations: 14.56 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.3149, allocations: 156.9 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3152, allocations: 0.6848 MB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3152, allocations: 7.438 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.3152, allocations: 4 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of Templates: time 0.002296/0.3175, allocations: 0.7303 MB / 1.059 GB, free: 1.488 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches