Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001498/0.001498, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001479/0.001479, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 72.11 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2972, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001896/0.2991, allocations: 0.7316 MB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.3, allocations: 0.804 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3001, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.3001, allocations: 3.938 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.3002, allocations: 3.984 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.3003, allocations: 12 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.3004, allocations: 23.92 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.3005, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.3005, allocations: 15.92 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.3006, allocations: 4 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3006, allocations: 4 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.3006, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3006, allocations: 11.92 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.3007, allocations: 7.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.034e-05/0.3007, allocations: 23.95 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3007, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3007, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3007, allocations: 0 / 1.066 GB, free: 13.43 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.0004332/0.3012, allocations: 331.8 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3012, allocations: 11.97 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.3013, allocations: 4.844 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3014, allocations: 172.3 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3014, allocations: 384 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3014, allocations: 4.375 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3016, allocations: 50.23 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3016, allocations: 192 / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3016, allocations: 3.938 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3017, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3018, allocations: 35.95 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.3022, allocations: 245 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3023, allocations: 46.42 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.3024, allocations: 20.91 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3024, allocations: 7.984 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3024, allocations: 30.56 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3025, allocations: 4 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003362/0.3028, allocations: 85.58 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.3028, allocations: 51.41 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.3029, allocations: 97.84 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.303, allocations: 25.7 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.303, allocations: 88.05 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.303, allocations: 8.125 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.3031, allocations: 9.719 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3032, allocations: 318.8 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.3033, allocations: 15.97 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.3034, allocations: 15.98 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3035, allocations: 40.89 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3035, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.3037, allocations: 77.44 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3037, allocations: 4 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3037, allocations: 3.938 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3038, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.3039, allocations: 11.98 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3039, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.3039, allocations: 8.031 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3039, allocations: 0 / 1.068 GB, free: 11.41 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.624e-05/0.304, allocations: 119.5 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.304, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.3041, allocations: 3.125 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3041, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3041, allocations: 4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3041, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.3043, allocations: 165.5 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3043, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.3043, allocations: 11.98 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3043, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3044, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3044, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3044, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3046, allocations: 171.4 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.526e-05/0.3047, allocations: 81.02 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3047, allocations: 7.984 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.3048, allocations: 4 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3048, allocations: 3.984 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3048, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.3049, allocations: 83.28 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3049, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002046/0.3051, allocations: 4 kB / 1.068 GB, free: 10.67 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.0001316/0.3052, allocations: 99.28 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.3054, allocations: 39.95 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3054, allocations: 3.938 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.3055, allocations: 19.98 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3058, allocations: 10.41 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.3061, allocations: 135.2 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3064, allocations: 0.6768 MB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.3064, allocations: 11.44 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3064, allocations: 3.938 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of Templates: time 0.001946/0.3084, allocations: 0.5484 MB / 1.07 GB, free: 9.062 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches