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.007276/0.007276, allocations: 98.3 kB / 15.73 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.00154/0.00154, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.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.771/2.771, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 59.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3351, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001818/0.337, allocations: 0.6595 MB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.3378, allocations: 0.8121 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.3379, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.3379, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.338, allocations: 3.938 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3381, allocations: 11.98 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.3382, allocations: 23.92 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3383, allocations: 8 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.3384, allocations: 15.97 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.3385, allocations: 11.94 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3385, allocations: 0 / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.3385, allocations: 4 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.3385, allocations: 3.938 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.3385, allocations: 11.92 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.3386, allocations: 19.91 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3386, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3386, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3386, allocations: 4 kB / 1.168 GB, free: 5.172 MB / 0.92 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.0004527/0.3391, allocations: 339.4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3391, allocations: 8.031 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3392, allocations: 12.88 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3393, allocations: 164.3 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3393, allocations: 384 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3393, allocations: 384 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3395, allocations: 54.23 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3395, allocations: 192 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3395, allocations: 3.938 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3396, allocations: 4 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.3397, allocations: 35.94 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.34, allocations: 248.9 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3402, allocations: 46.53 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3403, allocations: 24.91 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3403, allocations: 0 / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3403, allocations: 30.56 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3403, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.3407, allocations: 89.58 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3407, allocations: 51.41 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.3408, allocations: 101.8 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3408, allocations: 25.7 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.3409, allocations: 84.14 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3409, allocations: 7.891 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.3409, allocations: 17.72 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3411, allocations: 315 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.3412, allocations: 15.97 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.3412, allocations: 15.98 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3414, allocations: 36.83 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3414, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.3416, allocations: 81.55 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3416, allocations: 4 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3416, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3416, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.3417, allocations: 11.98 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3417, allocations: 0 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.3418, allocations: 7.984 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3418, allocations: 3.938 kB / 1.17 GB, free: 3.141 MB / 0.92 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 6.941e-05/0.3419, allocations: 121.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.3419, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.3419, allocations: 3.125 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3419, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.342, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.342, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3421, allocations: 161.6 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3421, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.3422, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3422, allocations: 4 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3422, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3422, allocations: 7.984 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3422, allocations: 4 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3425, allocations: 163.4 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.3425, allocations: 85.05 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.3425, allocations: 4.031 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.3426, allocations: 4 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3427, allocations: 3.984 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3427, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.3427, allocations: 83.28 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.473e-06/0.3427, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002168/0.3429, allocations: 11.88 kB / 1.171 GB, free: 2.395 MB / 0.92 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.0001322/0.3431, allocations: 103.2 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.3433, allocations: 39.89 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3433, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.3434, allocations: 19.98 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3437, allocations: 9.812 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.3439, allocations: 101.6 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3442, allocations: 0.6768 MB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.3442, allocations: 0 / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.3442, allocations: 7.438 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3442, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of Templates: time 0.002401/0.3466, allocations: 448.6 kB / 1.172 GB, free: 0.9453 MB / 0.92 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/jenkins/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