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.006868/0.006868, allocations: 96.38 kB / 15.73 MB, free: 5.996 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.001228/0.001228, allocations: 186 kB / 16.67 MB, free: 5.926 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.921/2.921, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3762, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002318/0.3786, allocations: 0.6594 MB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3799, allocations: 0.8121 MB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.38, allocations: 4 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.38, allocations: 7.875 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.3802, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3804, allocations: 11.92 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3805, allocations: 19.98 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3807, allocations: 4 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.3808, allocations: 11.98 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.3808, allocations: 11.92 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.3809, allocations: 0 / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3809, allocations: 8 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.3809, allocations: 4 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.3809, allocations: 15.92 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3811, allocations: 23.84 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3811, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3811, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3811, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 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.0006846/0.3818, allocations: 339.4 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3818, allocations: 12.03 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.3819, allocations: 4.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.382, allocations: 164.3 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.382, allocations: 384 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.3821, allocations: 4.375 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3823, allocations: 50.23 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3823, allocations: 192 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3823, allocations: 3.938 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3823, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3825, allocations: 43.89 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3829, allocations: 241 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3831, allocations: 42.48 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.3832, allocations: 20.91 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3832, allocations: 7.984 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3832, allocations: 34.56 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3832, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003782/0.3836, allocations: 77.58 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3837, allocations: 59.34 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.3838, allocations: 110 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3838, allocations: 25.7 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.3839, allocations: 84.14 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.3839, allocations: 3.953 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.3839, allocations: 13.72 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3841, allocations: 314.8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.3842, allocations: 15.97 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.3843, allocations: 23.98 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3844, allocations: 40.77 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3844, allocations: 7.938 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.3846, allocations: 69.55 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3847, allocations: 10.03 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3847, allocations: 96 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3847, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3848, allocations: 7.984 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3849, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.3849, allocations: 4 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3849, allocations: 7.984 kB / 1.17 GB, free: 3.113 MB / 0.92 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.35e-05/0.385, allocations: 109.8 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.385, allocations: 4 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.3851, allocations: 7.125 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3851, allocations: 4 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3851, allocations: 0 / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3851, allocations: 0 / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3853, allocations: 161.6 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3853, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.3854, allocations: 11.94 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3854, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3854, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3854, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3854, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3857, allocations: 167.5 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.3858, allocations: 85.05 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3858, allocations: 0 / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.3859, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3859, allocations: 7.984 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3859, allocations: 4.031 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.386, allocations: 83.28 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.386, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002169/0.3862, allocations: 7.938 kB / 1.171 GB, free: 2.375 MB / 0.92 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.0001641/0.3864, allocations: 95.25 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3866, allocations: 47.83 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3866, allocations: 4.062 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3867, allocations: 15.98 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.387, allocations: 7.938 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3874, allocations: 101.4 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3877, allocations: 0.6768 MB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.3877, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.3878, allocations: 11.5 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of SimCode: time 4.8e-07/0.3878, allocations: 4 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of Templates: time 0.002873/0.3907, allocations: 446.8 kB / 1.172 GB, free: 0.918 MB / 0.92 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/jenkins/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