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.001522/0.001522, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 199 kB / 16.79 MB, free: 6.809 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.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.636/2.636, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6567, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.0023/0.6591, allocations: 0.7317 MB / 1.018 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.6601, allocations: 0.7962 MB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.6602, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.6602, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.6603, allocations: 4 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.6605, allocations: 11.92 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.6606, allocations: 16 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.6607, allocations: 11.98 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.6608, allocations: 15.92 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.6608, allocations: 7.984 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.6608, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.6608, allocations: 3.938 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.6609, allocations: 7.938 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.6609, allocations: 4 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.538e-05/0.661, allocations: 19.97 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.661, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.661, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.661, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 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.0004866/0.6615, allocations: 337.5 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6615, allocations: 15.97 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.6616, allocations: 0.9375 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.6617, allocations: 168.3 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.6617, allocations: 4.375 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.6617, allocations: 384 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.6619, allocations: 50.23 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6619, allocations: 4.188 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.662, allocations: 7.922 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.662, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.6622, allocations: 35.91 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.6625, allocations: 245 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.6626, allocations: 42.5 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.6627, allocations: 20.91 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.6627, allocations: 0 / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.6628, allocations: 34.56 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6628, allocations: 3.938 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003807/0.6632, allocations: 85.58 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.6632, allocations: 55.41 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.6633, allocations: 97.84 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6633, allocations: 29.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.6634, allocations: 84.12 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.6634, allocations: 7.844 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.6634, allocations: 13.72 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6636, allocations: 323 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.6637, allocations: 15.98 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.6637, allocations: 15.98 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.6639, allocations: 44.75 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6639, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.6641, allocations: 65.67 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6641, allocations: 9.562 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6642, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6642, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.6643, allocations: 7.984 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.6643, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.6644, allocations: 7.891 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.6644, allocations: 4 kB / 1.021 GB, free: 15.13 MB / 0.7794 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.869e-05/0.6645, allocations: 122.3 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.6645, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.6645, allocations: 7.125 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6645, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.6645, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6645, allocations: 3.984 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.6647, allocations: 157.6 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6647, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.6648, allocations: 15.92 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6648, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.6648, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6648, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6648, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.6651, allocations: 163.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.6651, allocations: 77.11 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.6652, allocations: 4.031 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.6652, allocations: 7.984 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.6653, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.6653, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.6654, allocations: 83.28 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6654, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002132/0.6656, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 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.0001412/0.6657, allocations: 103.2 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.666, allocations: 39.91 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.666, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.6661, allocations: 19.97 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.6663, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.6667, allocations: 141.2 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6669, allocations: 0.6731 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.667, allocations: 7.438 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.667, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.001892/0.6689, allocations: 0.5429 MB / 1.023 GB, free: 12.79 MB / 0.7794 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 -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