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.001154/0.001154, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001236/0.001236, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.735/2.735, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 59.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002573/1.023, allocations: 0.6694 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001466/1.025, allocations: 0.804 MB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/1.025, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/1.025, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/1.025, allocations: 3.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/1.025, allocations: 11.98 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/1.026, allocations: 23.92 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/1.026, allocations: 8 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/1.026, allocations: 11.92 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/1.026, allocations: 11.98 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/1.026, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/1.026, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/1.026, allocations: 7.938 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/1.026, allocations: 8 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/1.026, allocations: 23.89 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/1.026, allocations: 0 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.464e-06/1.026, allocations: 0 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.026, allocations: 0 / 1.169 GB, free: 2.219 MB / 0.8887 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.0005481/1.027, allocations: 335.5 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.027, allocations: 12.62 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/1.027, allocations: 0.9375 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.027, allocations: 172.1 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/1.027, allocations: 4.375 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/1.027, allocations: 384 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/1.027, allocations: 50.23 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.027, allocations: 192 / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/1.027, allocations: 7.922 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.027, allocations: 7.938 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/1.027, allocations: 31.97 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/1.028, allocations: 245 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/1.028, allocations: 46.44 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/1.028, allocations: 31.28 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/1.028, allocations: 0 / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.028, allocations: 42.55 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.028, allocations: 0 / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004/1.029, allocations: 81.5 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.029, allocations: 59.53 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/1.029, allocations: 97.84 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.029, allocations: 25.7 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/1.029, allocations: 84.14 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/1.029, allocations: 3.906 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/1.029, allocations: 17.7 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.029, allocations: 314.8 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/1.029, allocations: 15.98 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/1.029, allocations: 19.98 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/1.03, allocations: 40.81 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.03, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002075/1.03, allocations: 65.55 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.03, allocations: 12.09 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.03, allocations: 3.984 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.03, allocations: 0 / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/1.03, allocations: 4 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.03, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/1.03, allocations: 3.984 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.03, allocations: 4 kB / 1.171 GB, free: 196 kB / 0.8887 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.442e-05/1.03, allocations: 109.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/1.03, allocations: 7.938 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/1.03, allocations: 7.125 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.03, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.03, allocations: 3.984 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/1.03, allocations: 77.11 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/1.03, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/1.03, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/1.03, allocations: 7.922 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003227/1.031, allocations: 160.8 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002923/1.031, allocations: 230.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.042e-05/1.031, allocations: 19.98 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.099e-05/1.031, allocations: 91.33 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of Backend: time 3.6e-07/1.031, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004821/1.032, allocations: 90.39 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007944/1.032, allocations: 0.557 MB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.003087/1.036, allocations: 0.5485 MB / 1.173 GB, free: 14.19 MB / 0.9044 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/jenkins1/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