Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 103.5 kB / 15.98 MB, free: 6.348 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.001552/0.001552, allocations: 196.6 kB / 16.91 MB, free: 6.188 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.531/2.531, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 75.42 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3033, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001953/0.3053, allocations: 0.765 MB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.3063, allocations: 0.8079 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.3063, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3063, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.3064, allocations: 7.922 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.888e-05/0.3065, allocations: 11.98 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.3066, allocations: 51.78 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.3067, allocations: 8 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.3068, allocations: 19.98 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.3068, allocations: 19.86 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3068, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.3068, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3069, allocations: 7.984 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3069, allocations: 15.94 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.537e-05/0.307, allocations: 39.86 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.307, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.307, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.307, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 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.0005152/0.3075, allocations: 355.7 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3076, allocations: 12.02 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3076, allocations: 8.844 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3078, allocations: 172.3 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3078, allocations: 4.375 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3078, allocations: 4.312 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.308, allocations: 74.16 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.308, allocations: 192 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3081, allocations: 7.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3081, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.3083, allocations: 63.92 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3087, allocations: 268.9 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3089, allocations: 62.41 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3091, allocations: 32.92 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3091, allocations: 8 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3091, allocations: 34.56 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3091, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005099/0.3097, allocations: 125.6 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3097, allocations: 55.41 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.3098, allocations: 113.8 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3098, allocations: 25.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.3099, allocations: 84.14 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3099, allocations: 11.8 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.3099, allocations: 17.72 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3101, allocations: 314.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3102, allocations: 35.95 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3104, allocations: 27.97 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3106, allocations: 68.78 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3106, allocations: 3.938 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002953/0.3109, allocations: 97.62 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.311, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.311, allocations: 3.938 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.311, allocations: 7.938 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3111, allocations: 15.97 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3111, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.3112, allocations: 15.98 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3112, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 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 0.0001005/0.3113, allocations: 113.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3114, allocations: 3.906 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.3117, allocations: 105.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3117, allocations: 4.047 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3117, allocations: 3.984 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3117, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3119, allocations: 177.6 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3119, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.312, allocations: 19.92 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.3121, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3121, allocations: 3.938 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3121, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3121, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3125, allocations: 203.4 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3125, allocations: 84.95 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3125, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3126, allocations: 11.98 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3127, allocations: 7.984 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3127, allocations: 4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.3128, allocations: 83.28 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3128, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002103/0.313, allocations: 8 kB / 1.069 GB, free: 10.08 MB / 0.8419 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.0001514/0.3131, allocations: 103.2 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.3135, allocations: 75.92 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3135, allocations: 0 / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3136, allocations: 31.97 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3139, allocations: 11.92 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.3143, allocations: 167.2 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3146, allocations: 0.6807 MB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.3146, allocations: 7.438 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3146, allocations: 3.938 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of Templates: time 0.002202/0.3168, allocations: 0.7395 MB / 1.07 GB, free: 8.207 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches