Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 103.4 kB / 16.35 MB, free: 5.828 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.001023/0.001023, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 66.91 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3042, allocations: 151.7 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002434/0.3067, allocations: 0.6534 MB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3078, allocations: 0.8157 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.3079, allocations: 0 / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.308, allocations: 4 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.3081, allocations: 3.938 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3082, allocations: 7.984 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.045e-05/0.3083, allocations: 23.92 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3085, allocations: 8 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.3085, allocations: 11.92 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.3086, allocations: 4 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3086, allocations: 4 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.3086, allocations: 0 / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3087, allocations: 15.92 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.3087, allocations: 7.984 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.3088, allocations: 19.91 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3088, allocations: 4 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3088, allocations: 0 / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3088, allocations: 0 / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006143/0.3095, allocations: 335.5 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3095, allocations: 8.922 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3096, allocations: 4.844 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3097, allocations: 180.3 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3098, allocations: 384 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3098, allocations: 384 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.31, allocations: 54.17 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.31, allocations: 192 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.31, allocations: 7.875 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.31, allocations: 3.984 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3102, allocations: 31.97 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.3106, allocations: 248.9 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3107, allocations: 46.42 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.3108, allocations: 16.91 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3109, allocations: 4 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3109, allocations: 38.56 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3109, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003522/0.3113, allocations: 77.64 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3113, allocations: 51.41 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.3114, allocations: 101.8 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3114, allocations: 25.7 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.3115, allocations: 84.27 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3115, allocations: 15.84 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3115, allocations: 9.719 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3117, allocations: 318.8 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.3117, allocations: 15.98 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.3118, allocations: 11.98 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.312, allocations: 40.89 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.312, allocations: 0 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.3122, allocations: 77.5 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3122, allocations: 4 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3122, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3122, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.3123, allocations: 19.95 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3123, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.3124, allocations: 7.984 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.3124, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 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 (2): * Single equations (assignments): 2 * 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.23e-05/0.3125, allocations: 109.8 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3125, allocations: 4 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.3125, allocations: 7.125 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3125, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3125, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3125, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3127, allocations: 161.6 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3127, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.3128, allocations: 11.98 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3128, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3128, allocations: 7.938 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3128, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3128, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.3131, allocations: 175.3 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.3131, allocations: 81.11 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3131, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.3132, allocations: 7.984 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3133, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.3133, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.3133, allocations: 79.28 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3133, allocations: 4.031 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002149/0.3135, allocations: 8 kB / 1.023 GB, free: 5.465 MB / 0.795 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 (2): * Single equations (assignments): 2 * 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.000138/0.3137, allocations: 99.23 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3139, allocations: 35.97 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3139, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.314, allocations: 23.98 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3143, allocations: 11.92 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.3147, allocations: 106.2 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.315, allocations: 0.6768 MB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.3151, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.3151, allocations: 7.438 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of SimCode: time 7.82e-07/0.3151, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of Templates: time 0.002567/0.3177, allocations: 448.1 kB / 1.024 GB, free: 4.012 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches