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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.0009657/0.000966, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00691/0.00691, allocations: 174.4 kB / 16.27 MB, free: 6.66 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.125/3.125, allocations: 483.2 MB / 0.7564 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003888, allocations: 14.98 kB / 0.9276 GB, free: 29.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3865, allocations: 164.5 MB / 1.088 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001012/0.3876, allocations: 403.6 kB / 1.089 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3887, allocations: 0.7962 MB / 1.089 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.3887, allocations: 4 kB / 1.089 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.3887, allocations: 4 kB / 1.089 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.3888, allocations: 7.922 kB / 1.089 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3889, allocations: 0 / 1.089 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.389, allocations: 19.98 kB / 1.089 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.3891, allocations: 11.98 kB / 1.089 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.3892, allocations: 15.88 kB / 1.089 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.3892, allocations: 7.984 kB / 1.089 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3892, allocations: 0 / 1.089 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.3893, allocations: 4 kB / 1.089 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3893, allocations: 11.88 kB / 1.09 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.3893, allocations: 29.7 kB / 1.09 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.572e-05/0.3894, allocations: 27.89 kB / 1.09 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3894, allocations: 0 / 1.09 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3894, allocations: 0 / 1.09 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3895, allocations: 0 / 1.09 GB, free: 8.895 MB / 0.8419 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.0004887/0.3899, allocations: 335.8 kB / 1.09 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.39, allocations: 8.031 kB / 1.09 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.39, allocations: 4.938 kB / 1.09 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3902, allocations: 164.3 kB / 1.09 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3902, allocations: 384 / 1.09 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3902, allocations: 8.375 kB / 1.09 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3904, allocations: 50.23 kB / 1.09 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3905, allocations: 192 / 1.09 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.3905, allocations: 11.94 kB / 1.09 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3905, allocations: 0 / 1.09 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3907, allocations: 47.89 kB / 1.09 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.3911, allocations: 249 kB / 1.09 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3912, allocations: 46.48 kB / 1.09 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.3913, allocations: 24.91 kB / 1.09 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3913, allocations: 3.938 kB / 1.09 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3914, allocations: 34.56 kB / 1.091 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/0.3914, allocations: 4 kB / 1.091 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.3918, allocations: 105.6 kB / 1.091 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3918, allocations: 51.41 kB / 1.091 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.3919, allocations: 97.86 kB / 1.091 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3919, allocations: 29.69 kB / 1.091 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.392, allocations: 84.14 kB / 1.091 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.392, allocations: 3.906 kB / 1.091 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.3921, allocations: 13.72 kB / 1.091 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3922, allocations: 314.9 kB / 1.091 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.3923, allocations: 19.98 kB / 1.091 GB, free: 7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.3924, allocations: 23.97 kB / 1.091 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3926, allocations: 56.83 kB / 1.091 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3926, allocations: 0 / 1.091 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.3928, allocations: 81.59 kB / 1.091 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3928, allocations: 4 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3928, allocations: 0 / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3929, allocations: 0 / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.393, allocations: 11.98 kB / 1.091 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.393, allocations: 7.984 kB / 1.091 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.393, allocations: 4 kB / 1.091 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3931, allocations: 7.969 kB / 1.091 GB, free: 6.797 MB / 0.8419 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.608e-05/0.3931, allocations: 121.8 kB / 1.091 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.3932, allocations: 0 / 1.091 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.3932, allocations: 3.125 kB / 1.092 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3932, allocations: 4 kB / 1.092 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3932, allocations: 0 / 1.092 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3932, allocations: 4.188 kB / 1.092 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3934, allocations: 161.5 kB / 1.092 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.3934, allocations: 0 / 1.092 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.3935, allocations: 15.98 kB / 1.092 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3935, allocations: 3.984 kB / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3935, allocations: 0 / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3935, allocations: 0 / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3935, allocations: 0 / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3938, allocations: 183.4 kB / 1.092 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.3938, allocations: 81.02 kB / 1.092 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.3939, allocations: 0 / 1.092 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.3939, allocations: 11.98 kB / 1.092 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.394, allocations: 4 kB / 1.092 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.394, allocations: 0 / 1.092 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.394, allocations: 87.3 kB / 1.092 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3941, allocations: 0 / 1.092 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002019/0.3943, allocations: 4 kB / 1.092 GB, free: 6.035 MB / 0.8419 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.0001552/0.3944, allocations: 99.19 kB / 1.092 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3947, allocations: 51.95 kB / 1.092 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.3947, allocations: 0 / 1.092 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.3948, allocations: 23.98 kB / 1.092 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.395, allocations: 9.344 kB / 1.092 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.3953, allocations: 115.6 kB / 1.092 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3957, allocations: 0.6731 MB / 1.093 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.3957, allocations: 3.984 kB / 1.093 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3957, allocations: 7.438 kB / 1.093 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3957, allocations: 3.938 kB / 1.093 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.002644/0.3984, allocations: 362.3 kB / 1.093 GB, free: 4.641 MB / 0.8419 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=400 -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