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: 114.5 kB / 16.42 MB, free: 6.012 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.001906/0.001907, allocations: 182.3 kB / 17.35 MB, free: 5.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.414/1.414, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 59.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9607, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002133/0.9629, allocations: 0.6689 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.9639, allocations: 0.8001 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.964, allocations: 0 / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.964, allocations: 0 / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.9641, allocations: 7.938 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.9643, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.716e-05/0.9644, allocations: 27.92 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.9645, allocations: 11.97 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.9646, allocations: 7.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.9646, allocations: 7.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.9647, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.9647, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.9647, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.9647, allocations: 15.94 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.215e-05/0.9648, allocations: 19.91 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9649, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9649, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.9649, allocations: 0 / 1.21 GB, free: 12.05 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.0004899/0.9654, allocations: 339.4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.9654, allocations: 12.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.9655, allocations: 4.922 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.9657, allocations: 172.1 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.9657, allocations: 8.375 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.9657, allocations: 384 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.9659, allocations: 50.23 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.9659, allocations: 7.922 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.9659, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.9659, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.9661, allocations: 31.97 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.9665, allocations: 249 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.9666, allocations: 46.44 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.9667, allocations: 20.91 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.9668, allocations: 3.984 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.9668, allocations: 38.56 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.306e-06/0.9668, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003737/0.9672, allocations: 85.44 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.9672, allocations: 55.39 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.9673, allocations: 97.86 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.9673, allocations: 29.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.9674, allocations: 84.27 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.9674, allocations: 3.906 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.9675, allocations: 17.7 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9676, allocations: 314.8 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.9677, allocations: 11.98 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.9678, allocations: 19.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.9679, allocations: 44.88 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9679, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.9681, allocations: 69.55 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9682, allocations: 11.98 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9682, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9682, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.9683, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9683, allocations: 4.031 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.9684, allocations: 7.984 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.9684, allocations: 4 kB / 1.212 GB, free: 10.02 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 7.812e-05/0.9685, allocations: 113.8 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.9685, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.9686, allocations: 7.125 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9686, allocations: 3.984 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9686, allocations: 0 / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.9686, allocations: 85.05 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.9686, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.9687, allocations: 7.984 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.9688, allocations: 7.938 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002614/0.969, allocations: 144.9 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00028/0.9693, allocations: 242.7 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.989e-05/0.9694, allocations: 19.97 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.9695, allocations: 83.28 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of Backend: time 8.32e-07/0.9695, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.97, allocations: 96.3 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005595/0.9705, allocations: 0.5608 MB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.002752/0.9733, allocations: 0.5409 MB / 1.214 GB, free: 8.02 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