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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008306/0.0008305, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001064/0.001064, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.985/2.985, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 11.44 kB / 0.9022 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 159.6 MB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001222/0.3623, allocations: 388.7 kB / 1.058 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3633, allocations: 0.7923 MB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.3633, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.3634, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.3634, allocations: 3.938 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3636, allocations: 11.98 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.3637, allocations: 23.94 kB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3638, allocations: 7.984 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.3639, allocations: 3.984 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.364, allocations: 15.92 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.364, allocations: 0 / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.364, allocations: 4 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.364, allocations: 3.938 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.3641, allocations: 25.7 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.651e-05/0.3642, allocations: 11.97 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3642, allocations: 4 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3642, allocations: 4 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3642, allocations: 0 / 1.059 GB, free: 3.941 MB / 0.8106 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.0005469/0.3647, allocations: 339.6 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3648, allocations: 8.031 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.3648, allocations: 4 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.365, allocations: 170.9 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.365, allocations: 0 / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.365, allocations: 11.95 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3653, allocations: 53.67 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3653, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3653, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3653, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3655, allocations: 47.95 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.3659, allocations: 252.9 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.366, allocations: 46.53 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.3661, allocations: 32.84 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3662, allocations: 0 / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3662, allocations: 30.56 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3662, allocations: 0 / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3666, allocations: 101.6 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3666, allocations: 55.34 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.3667, allocations: 101.8 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3667, allocations: 29.83 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.3668, allocations: 84.14 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3668, allocations: 3.906 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.3668, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3669, allocations: 314.8 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.367, allocations: 19.98 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.3671, allocations: 27.97 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.3672, allocations: 23.94 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3672, allocations: 0 / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.3674, allocations: 77.72 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3674, allocations: 7.938 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3674, allocations: 0 / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3674, allocations: 0 / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.3675, allocations: 15.92 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3676, allocations: 4 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.3676, allocations: 12.03 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3676, allocations: 0 / 1.061 GB, free: 1.887 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.3677, allocations: 113.8 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3677, allocations: 3.906 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.3678, allocations: 7.297 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3678, allocations: 0 / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3678, allocations: 7.984 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3678, allocations: 0 / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.368, allocations: 161.7 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.368, allocations: 3.953 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.368, allocations: 15.98 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3681, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3681, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3681, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3681, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.3683, allocations: 175.5 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.3684, allocations: 81.06 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3684, allocations: 0 / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3685, allocations: 15.98 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3685, allocations: 4.031 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3685, allocations: 3.938 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.3686, allocations: 83.27 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3686, allocations: 0 / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002167/0.3688, allocations: 4 kB / 1.062 GB, free: 1.129 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.369, allocations: 95.25 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3692, allocations: 47.97 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3692, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.3693, allocations: 31.91 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.3696, allocations: 4.125 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.3699, allocations: 112.6 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3702, allocations: 0.6731 MB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.3702, allocations: 11.89 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.3702, allocations: 7.438 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3702, allocations: 0 / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of Templates: time 0.002393/0.3726, allocations: 359 kB / 1.063 GB, free: 15.74 MB / 0.8262 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/jenkins/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