Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_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_latest_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.001493/0.001493, 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.001573/0.001573, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.91 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3607, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001919/0.3626, allocations: 0.7223 MB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.3634, allocations: 0.8001 MB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.3635, allocations: 4 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.3635, allocations: 3.938 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.3636, allocations: 0 / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.3637, allocations: 11.92 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.3638, allocations: 15.94 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.3639, allocations: 19.98 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.364, allocations: 7.984 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.364, allocations: 15.92 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.364, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.364, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3641, allocations: 7.938 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.3641, allocations: 7.938 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.257e-05/0.3642, allocations: 19.97 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3642, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3642, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.3642, allocations: 0 / 1.054 GB, free: 7.211 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004317/0.3646, allocations: 335.8 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3647, allocations: 8.031 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.3647, allocations: 12.83 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3648, allocations: 172.3 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3648, allocations: 384 / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3649, allocations: 384 / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.365, allocations: 50.23 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3651, allocations: 4.188 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3651, allocations: 3.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3651, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3652, allocations: 35.91 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.3656, allocations: 245 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3657, allocations: 42.5 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.3658, allocations: 20.91 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3658, allocations: 3.984 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3659, allocations: 38.55 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3659, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.3662, allocations: 81.59 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3663, allocations: 55.39 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.3664, allocations: 97.86 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3664, allocations: 25.7 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.3664, allocations: 88.14 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.3665, allocations: 3.906 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.3665, allocations: 13.7 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3666, allocations: 319 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.3667, allocations: 19.98 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.3668, allocations: 11.98 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3669, allocations: 52.69 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3669, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.3671, allocations: 73.58 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3672, allocations: 9.078 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3672, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3672, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.3673, allocations: 8 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3673, allocations: 0 / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.3673, allocations: 7.984 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3674, allocations: 0 / 1.055 GB, free: 5.184 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 (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 6.352e-05/0.3674, allocations: 113.8 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3675, allocations: 4.188 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.3675, allocations: 11.06 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3675, allocations: 7.969 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3675, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3675, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3677, allocations: 157.6 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3677, allocations: 0 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.3677, allocations: 15.92 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3677, allocations: 4 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3678, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3678, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3678, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.368, allocations: 163.5 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.368, allocations: 81.11 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3681, allocations: 4.031 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.3681, allocations: 7.984 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3682, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3682, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.3682, allocations: 83.27 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3682, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002145/0.3684, allocations: 8 kB / 1.056 GB, free: 4.445 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 (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.000145/0.3686, allocations: 95.25 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3688, allocations: 43.91 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3688, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.3689, allocations: 19.97 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3692, allocations: 7.938 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.3695, allocations: 123.2 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.3697, allocations: 0.6731 MB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.3697, allocations: 3.984 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.3698, allocations: 15.38 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3698, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of Templates: time 0.002096/0.3719, allocations: 377.1 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches