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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 75.75 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002541/0.002541, allocations: 166.8 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.909/2.909, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 63.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002379/1.102, allocations: 0.6753 MB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001236/1.103, allocations: 0.8218 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/1.103, allocations: 1.219 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/1.103, allocations: 0 / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/1.103, allocations: 10.12 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/1.103, allocations: 7.672 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/1.103, allocations: 23.92 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/1.103, allocations: 12.16 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/1.103, allocations: 8.234 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/1.103, allocations: 10.05 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/1.103, allocations: 6.656 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/1.103, allocations: 1.938 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/1.103, allocations: 8.688 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/1.103, allocations: 4.25 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.735e-05/1.104, allocations: 27.22 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.104, allocations: 2.625 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.984e-06/1.104, allocations: 0 / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.104, allocations: 0 / 1.188 GB, free: 15.1 MB / 1.076 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.0004241/1.104, allocations: 259 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.104, allocations: 8.875 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/1.104, allocations: 8.047 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/1.104, allocations: 109.5 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.104, allocations: 4.375 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/1.104, allocations: 1.594 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/1.104, allocations: 49.94 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.104, allocations: 0.8906 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/1.104, allocations: 3.938 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/1.104, allocations: 5.188 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/1.105, allocations: 32.48 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/1.105, allocations: 187 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/1.105, allocations: 39.17 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/1.105, allocations: 24.92 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/1.105, allocations: 3.938 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/1.105, allocations: 40.39 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/1.105, allocations: 3.984 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003524/1.105, allocations: 85 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.106, allocations: 51.41 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/1.106, allocations: 102 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/1.106, allocations: 25.7 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/1.106, allocations: 90.33 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/1.106, allocations: 10.06 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/1.106, allocations: 16.8 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/1.106, allocations: 313.4 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/1.106, allocations: 13.97 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/1.106, allocations: 18.11 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/1.106, allocations: 37.42 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.106, allocations: 0 / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/1.106, allocations: 75.53 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.106, allocations: 5 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.106, allocations: 0.7969 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.106, allocations: 1.062 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/1.106, allocations: 8.062 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.106, allocations: 5.906 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/1.106, allocations: 5.203 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/1.106, allocations: 5.156 kB / 1.19 GB, free: 13.62 MB / 1.076 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 5.128e-05/1.106, allocations: 112.9 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/1.106, allocations: 5.812 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/1.106, allocations: 5.281 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.106, allocations: 0 / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.106, allocations: 0 / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/1.106, allocations: 1 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/1.107, allocations: 103.7 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.107, allocations: 1.719 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/1.107, allocations: 12.45 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.107, allocations: 9.156 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/1.107, allocations: 0 / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.107, allocations: 0.8438 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.107, allocations: 1.375 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/1.107, allocations: 166.8 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/1.107, allocations: 9.656 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/1.107, allocations: 1.766 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/1.107, allocations: 5.422 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/1.107, allocations: 6.672 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/1.107, allocations: 1.969 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.636e-05/1.107, allocations: 83.91 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.107, allocations: 0 / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002124/1.107, allocations: 3.281 kB / 1.19 GB, free: 13.12 MB / 1.076 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.0001048/1.107, allocations: 94.05 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.108, allocations: 38 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.108, allocations: 5.281 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/1.108, allocations: 19.72 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/1.108, allocations: 4.094 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/1.108, allocations: 101 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/1.108, allocations: 63.31 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.218e-05/1.108, allocations: 1.219 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/1.108, allocations: 9.594 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.108, allocations: 4.062 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of Templates: time 0.002923/1.111, allocations: 478.8 kB / 1.191 GB, free: 12.75 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.42349912202917]