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.001196/0.001196, allocations: 97.95 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.009726/0.009727, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.937/2.937, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.0006397, allocations: 9.625 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3653, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00111/0.3664, allocations: 396.6 kB / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3675, allocations: 0.8001 MB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.3676, allocations: 0 / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.3676, allocations: 0 / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.3677, allocations: 3.938 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.3679, allocations: 11.98 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.3679, allocations: 23.98 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3681, allocations: 3.938 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.3681, allocations: 11.94 kB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.3682, allocations: 7.984 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3682, allocations: 0 / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.3682, allocations: 3.938 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.3683, allocations: 11.92 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.3683, allocations: 29.7 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.056e-05/0.3684, allocations: 27.89 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3684, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3684, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3684, allocations: 0 / 1.06 GB, free: 4.145 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.0005803/0.369, allocations: 339.8 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.3691, allocations: 12.03 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3691, allocations: 0.9375 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.3693, allocations: 168.2 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3693, allocations: 8.375 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3694, allocations: 384 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3696, allocations: 54.23 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3696, allocations: 4.125 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3696, allocations: 3.938 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3696, allocations: 0 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3698, allocations: 47.95 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.3702, allocations: 245 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3704, allocations: 46.5 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3705, allocations: 28.89 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3705, allocations: 3.938 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3706, allocations: 38.5 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3706, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004043/0.371, allocations: 97.64 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.371, allocations: 51.53 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.3711, allocations: 105.9 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3712, allocations: 25.7 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.3712, allocations: 84.12 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3712, allocations: 3.906 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.3713, allocations: 9.719 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3714, allocations: 318.8 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.3715, allocations: 19.98 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.3716, allocations: 31.91 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.3717, allocations: 48.89 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3718, allocations: 0 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.372, allocations: 77.59 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.372, allocations: 4 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.372, allocations: 0 / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.372, allocations: 8.031 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.3721, allocations: 11.98 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3721, allocations: 0 / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.3722, allocations: 7.938 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3722, allocations: 4 kB / 1.062 GB, free: 2.047 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.348e-05/0.3723, allocations: 119.2 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3723, allocations: 7.906 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.3724, allocations: 7.297 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3724, allocations: 7.984 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3724, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3724, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3726, allocations: 157.6 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3726, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.3726, allocations: 11.98 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3727, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3727, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3727, allocations: 4 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3727, allocations: 4 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3729, allocations: 179.4 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.373, allocations: 77.11 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.373, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.3731, allocations: 11.98 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3731, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3732, allocations: 3.938 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.3732, allocations: 87.27 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3732, allocations: 0 / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002075/0.3734, allocations: 4 kB / 1.062 GB, free: 1.285 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 (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.0001678/0.3736, allocations: 103.3 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3738, allocations: 43.95 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3738, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.024e-05/0.3739, allocations: 28.05 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3742, allocations: 11.88 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.3745, allocations: 124.5 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3748, allocations: 0.6731 MB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.3748, allocations: 4.062 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.3749, allocations: 7.438 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3749, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of Templates: time 0.002547/0.3774, allocations: 371.5 kB / 1.064 GB, free: 15.87 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