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.00149/0.00149, allocations: 105 kB / 16.41 MB, free: 6.465 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.001601/0.001601, allocations: 187 kB / 17.34 MB, free: 5.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.727/1.727, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 63.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9995, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002179/1.002, allocations: 0.6599 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001128/1.003, allocations: 0.8039 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/1.003, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/1.003, allocations: 3.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/1.003, allocations: 7.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/1.003, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.404e-05/1.003, allocations: 23.92 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/1.004, allocations: 8 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/1.004, allocations: 7.984 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/1.004, allocations: 11.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/1.004, allocations: 4 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/1.004, allocations: 4 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/1.004, allocations: 11.98 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/1.004, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/1.004, allocations: 27.84 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.004, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.285e-06/1.004, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.004, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 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.000484/1.004, allocations: 335.5 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.005, allocations: 8.031 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/1.005, allocations: 8.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.005, allocations: 176.1 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/1.005, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/1.005, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/1.005, allocations: 50.23 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.005, allocations: 192 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/1.005, allocations: 3.938 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.005, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/1.005, allocations: 35.97 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/1.006, allocations: 245 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/1.006, allocations: 46.44 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/1.006, allocations: 20.91 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/1.006, allocations: 4 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.006, allocations: 34.56 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.006, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/1.006, allocations: 85.48 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.006, allocations: 51.41 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/1.006, allocations: 106 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/1.006, allocations: 29.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/1.006, allocations: 84.14 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/1.006, allocations: 7.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/1.007, allocations: 9.719 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.007, allocations: 318.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/1.007, allocations: 15.98 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/1.007, allocations: 15.98 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.007, allocations: 44.81 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.007, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/1.007, allocations: 69.55 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.007, allocations: 4 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.007, allocations: 48 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.007, allocations: 8.078 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/1.007, allocations: 11.98 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.007, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/1.007, allocations: 7.984 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.007, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 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.419e-05/1.008, allocations: 109.8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/1.008, allocations: 7.938 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/1.008, allocations: 7.125 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.008, allocations: 4 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.008, allocations: 0 / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.008, allocations: 0 / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/1.008, allocations: 161.6 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.008, allocations: 8 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/1.008, allocations: 7.984 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.008, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/1.008, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.008, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.008, allocations: 4 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/1.008, allocations: 167.4 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/1.008, allocations: 85.02 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/1.008, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/1.008, allocations: 7.984 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/1.008, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/1.008, allocations: 3.938 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.758e-05/1.008, allocations: 83.31 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/1.008, allocations: 0 / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002136/1.009, allocations: 8 kB / 1.212 GB, free: 9.215 MB / 0.9356 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.0001365/1.009, allocations: 103.2 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002099/1.009, allocations: 31.97 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.009, allocations: 64 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/1.009, allocations: 23.92 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/1.009, allocations: 13.75 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/1.01, allocations: 139.2 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/1.01, allocations: 0.6729 MB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/1.01, allocations: 11.44 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/1.01, allocations: 0 / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.001856/1.012, allocations: 0.5495 MB / 1.214 GB, free: 7.605 MB / 0.9356 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/jenkins1/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