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.001474/0.001474, 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.001715/0.001715, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.666/2.666, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 71.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6989, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001939/0.7009, allocations: 0.7316 MB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.7017, allocations: 0.8001 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.7018, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.7018, allocations: 4 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.7019, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.702, allocations: 15.92 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.7021, allocations: 19.94 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.7021, allocations: 7.984 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.7022, allocations: 7.938 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.7023, allocations: 11.97 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.7023, allocations: 7.938 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.7023, allocations: 0 / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.7023, allocations: 4 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.7023, allocations: 11.94 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.359e-05/0.7024, allocations: 23.95 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.7024, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7024, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.686e-06/0.7024, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 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.0003998/0.7028, allocations: 335.4 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7029, allocations: 12.03 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.7029, allocations: 4.875 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.703, allocations: 168.3 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.703, allocations: 384 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.7031, allocations: 4.375 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.7032, allocations: 50.23 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.7032, allocations: 4.172 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7033, allocations: 7.875 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7033, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.7034, allocations: 39.95 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.7037, allocations: 244.9 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.7039, allocations: 38.5 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.704, allocations: 24.89 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.704, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.704, allocations: 38.56 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.704, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003515/0.7044, allocations: 81.66 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.7044, allocations: 51.41 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.7045, allocations: 101.9 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.7045, allocations: 29.83 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.7045, allocations: 80.14 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.7046, allocations: 15.73 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.7046, allocations: 17.72 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.7047, allocations: 310.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.7048, allocations: 11.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.7049, allocations: 19.98 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.705, allocations: 44.88 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.705, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001882/0.7052, allocations: 77.47 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.7052, allocations: 8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7053, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.7053, allocations: 4.031 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.7054, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7054, allocations: 3.984 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.7054, allocations: 7.906 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.7054, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 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 7.155e-05/0.7055, allocations: 114.3 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.7056, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.7056, allocations: 7.109 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7056, allocations: 8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7056, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7056, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.7057, allocations: 157.6 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7058, allocations: 3.938 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.7058, allocations: 11.98 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7058, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.7058, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7058, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7059, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.7061, allocations: 171.4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.7061, allocations: 77.11 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.7061, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.7062, allocations: 7.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.7063, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.7063, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.7063, allocations: 91.48 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7063, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002132/0.7065, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 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.0001121/0.7067, allocations: 95.25 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.7069, allocations: 35.91 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7069, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.707, allocations: 24.03 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.7072, allocations: 9.766 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.7075, allocations: 107.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.7077, allocations: 0.6809 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.7077, allocations: 144 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.7078, allocations: 11.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7078, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002089/0.7099, allocations: 376.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 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