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.00167/0.00167, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002747/0.002747, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.886/2.886, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 66.27 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3787, allocations: 157.4 MB / 1.052 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002055/0.3808, allocations: 0.7321 MB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.3818, allocations: 0.8001 MB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.3818, allocations: 0 / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.3819, allocations: 7.938 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.3819, allocations: 0 / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.3821, allocations: 7.984 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.3822, allocations: 27.92 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3823, allocations: 3.984 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.3824, allocations: 11.94 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.3825, allocations: 15.98 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3825, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3825, allocations: 4 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.3825, allocations: 3.938 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.3826, allocations: 11.98 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.41e-05/0.3826, allocations: 23.91 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3827, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3827, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.3827, allocations: 0 / 1.054 GB, free: 7.051 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.000529/0.3832, allocations: 343.7 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3833, allocations: 8.625 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.3833, allocations: 8.844 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3835, allocations: 164.3 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3835, allocations: 384 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3835, allocations: 4.375 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3837, allocations: 46.23 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3837, allocations: 4.188 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3837, allocations: 3.938 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3837, allocations: 4 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3839, allocations: 35.94 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3843, allocations: 256.8 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3844, allocations: 42.48 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.3845, allocations: 24.91 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3846, allocations: 0 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3846, allocations: 30.56 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3846, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003549/0.385, allocations: 85.58 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.385, allocations: 55.53 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.3851, allocations: 101.9 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3851, allocations: 25.7 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.3852, allocations: 84.12 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3852, allocations: 3.906 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3853, allocations: 17.72 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3854, allocations: 310.8 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3855, allocations: 19.98 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.3856, allocations: 19.97 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3857, allocations: 36.77 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3857, allocations: 4 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.3859, allocations: 73.53 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3859, allocations: 8 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3859, allocations: 4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.386, allocations: 0 / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.3861, allocations: 7.984 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3861, allocations: 0 / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3861, allocations: 12 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3861, allocations: 0 / 1.056 GB, free: 5.016 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 8.629e-05/0.3862, allocations: 119.3 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.3863, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.3863, allocations: 3.125 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3863, allocations: 4 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3863, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3863, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3865, allocations: 157.6 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3865, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.3866, allocations: 7.984 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3866, allocations: 4 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3866, allocations: 7.938 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3866, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3866, allocations: 3.938 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.3868, allocations: 159.5 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3869, allocations: 77.11 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3869, allocations: 3.984 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.387, allocations: 8.031 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.387, allocations: 4 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.387, allocations: 4 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.3871, allocations: 83.27 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3871, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002051/0.3873, allocations: 0 / 1.056 GB, free: 4.285 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.0001634/0.3875, allocations: 99.25 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.3877, allocations: 47.89 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3877, allocations: 0 / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.3878, allocations: 15.98 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3881, allocations: 9.5 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.3884, allocations: 117.5 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3887, allocations: 0.6808 MB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.3887, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.3887, allocations: 11.38 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3887, allocations: 0 / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.002337/0.3911, allocations: 392 kB / 1.058 GB, free: 2.871 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