Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002036/0.002036, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.12 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002105/0.3109, allocations: 0.8273 MB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.3118, allocations: 0.839 MB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.3118, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.3119, allocations: 3.984 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.312, allocations: 7.938 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.3121, allocations: 27.98 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.3122, allocations: 67.83 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3124, allocations: 27.77 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.3124, allocations: 27.92 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.3125, allocations: 35.83 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3126, allocations: 8 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.3126, allocations: 8 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3126, allocations: 15.91 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.3127, allocations: 23.86 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3128, allocations: 71.75 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3128, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3128, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3128, allocations: 4 kB / 1.054 GB, free: 6.809 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005794/0.3134, allocations: 375.5 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3134, allocations: 8.031 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3135, allocations: 12.84 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3136, allocations: 188 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3137, allocations: 8.375 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3137, allocations: 384 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3139, allocations: 82.2 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.314, allocations: 192 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.314, allocations: 7.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.314, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.3142, allocations: 67.94 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.3147, allocations: 324.6 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.315, allocations: 86.53 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3151, allocations: 40.92 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3152, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3152, allocations: 38.56 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.3152, allocations: 3.938 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005019/0.3157, allocations: 133.5 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3158, allocations: 55.41 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.3159, allocations: 125.8 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3159, allocations: 25.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.3159, allocations: 100 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.316, allocations: 19.64 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.316, allocations: 25.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3162, allocations: 318.8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3163, allocations: 35.97 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3164, allocations: 27.97 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3166, allocations: 72.75 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3167, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002824/0.3169, allocations: 106.1 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.317, allocations: 4 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.317, allocations: 4 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.317, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3172, allocations: 15.98 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3172, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.3173, allocations: 11.89 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3173, allocations: 4 kB / 1.056 GB, free: 4.301 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 (6): * Single equations (assignments): 6 * 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.582e-05/0.3174, allocations: 123 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3174, allocations: 4 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.3174, allocations: 12.38 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3175, allocations: 4 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3175, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3175, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3177, allocations: 193.6 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3177, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3178, allocations: 19.97 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3178, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3178, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3178, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3178, allocations: 4 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.3182, allocations: 203.3 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3183, allocations: 85.02 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3183, allocations: 7.938 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3184, allocations: 11.92 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.3185, allocations: 11.98 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3185, allocations: 7.984 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.3185, allocations: 95.27 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3186, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002256/0.3188, allocations: 19.88 kB / 1.057 GB, free: 3.418 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 (6): * Single equations (assignments): 6 * 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.0001631/0.319, allocations: 105.9 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.3193, allocations: 75.88 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3193, allocations: 4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3194, allocations: 44.09 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3197, allocations: 9.031 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.3202, allocations: 191.3 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3205, allocations: 0.6888 MB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.3205, allocations: 7.984 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.3206, allocations: 15.44 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3206, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of Templates: time 0.003431/0.324, allocations: 1.072 MB / 1.059 GB, free: 1.16 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches