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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001619/0.001619, allocations: 113 kB / 16.41 MB, free: 6.453 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.001887/0.001887, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9589/0.9612, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001931/0.9631, allocations: 0.6695 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.9642, allocations: 0.8 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.9643, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.9643, allocations: 3.938 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.9644, allocations: 11.92 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.9646, allocations: 4 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.9647, allocations: 23.97 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.9648, allocations: 12 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.9648, allocations: 15.92 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.9649, allocations: 7.938 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.9649, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.9649, allocations: 4 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.9649, allocations: 7.984 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.965, allocations: 7.938 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.9651, allocations: 23.89 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.9651, allocations: 4 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9651, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.9651, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 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.0006291/0.9657, allocations: 339 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.9658, allocations: 8.922 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.9658, allocations: 4.938 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.966, allocations: 169.3 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.966, allocations: 384 / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.966, allocations: 4.375 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.9662, allocations: 46.23 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9662, allocations: 8.125 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9662, allocations: 7.938 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9662, allocations: 0 / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.9664, allocations: 27.97 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.9669, allocations: 245 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.967, allocations: 46.5 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.9671, allocations: 27.34 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.9672, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.9672, allocations: 34.5 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.9672, allocations: 0 / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.9676, allocations: 85.64 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.9676, allocations: 51.41 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.9677, allocations: 101.8 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.9677, allocations: 29.7 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.9678, allocations: 92.02 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.9678, allocations: 3.953 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.9679, allocations: 13.72 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.968, allocations: 323 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.9681, allocations: 11.98 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.9682, allocations: 23.92 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.9683, allocations: 36.81 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9683, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.9685, allocations: 73.62 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9686, allocations: 6.344 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.9686, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.9686, allocations: 4.188 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.9687, allocations: 7.984 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9687, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.9687, allocations: 7.984 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.9688, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 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 9.06e-05/0.9689, allocations: 125.8 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.9689, allocations: 3.984 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.9689, allocations: 3.125 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9689, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9689, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.9689, allocations: 4 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.9691, allocations: 161.6 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9691, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.9692, allocations: 7.984 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9692, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.9692, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9692, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9692, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.9695, allocations: 163.5 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.9696, allocations: 81.06 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.9696, allocations: 4.031 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.9697, allocations: 7.984 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.9698, allocations: 3.938 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.9698, allocations: 7.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.9698, allocations: 79.28 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9699, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002143/0.9701, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 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.0001567/0.9702, allocations: 103.2 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.9705, allocations: 35.97 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.9705, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.9706, allocations: 19.98 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.9709, allocations: 18.53 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.9712, allocations: 101.5 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.9718, allocations: 0.6807 MB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.9719, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.9719, allocations: 7.438 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.9719, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.002839/0.9747, allocations: 442.2 kB / 1.173 GB, free: 13.98 MB / 0.9044 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 cvode -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