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.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.001853/0.001853, allocations: 79.73 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.002319/0.002319, allocations: 163.7 kB / 23.01 MB, free: 4.602 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.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.649/2.649, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002417/0.002417, allocations: 67.91 kB / 0.9516 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9366, allocations: 169.9 MB / 1.117 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001824/0.9384, allocations: 0.6629 MB / 1.118 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.9392, allocations: 0.8297 MB / 1.119 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.9393, allocations: 4.906 kB / 1.119 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.9393, allocations: 0 / 1.119 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.9393, allocations: 5.609 kB / 1.119 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.9395, allocations: 8.406 kB / 1.119 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.9396, allocations: 24.83 kB / 1.119 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.9397, allocations: 3.344 kB / 1.119 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.9397, allocations: 17.22 kB / 1.119 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.9397, allocations: 5.672 kB / 1.119 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.9398, allocations: 1.125 kB / 1.119 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.9398, allocations: 2.344 kB / 1.119 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.9398, allocations: 13.69 kB / 1.119 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.9398, allocations: 3.109 kB / 1.119 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.9399, allocations: 20.94 kB / 1.119 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9399, allocations: 0 / 1.119 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9399, allocations: 0.75 kB / 1.119 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9399, allocations: 0 / 1.119 GB, free: 1.996 MB / 0.9981 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.0003639/0.9403, allocations: 263 kB / 1.119 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9403, allocations: 9.094 kB / 1.119 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.9403, allocations: 3.406 kB / 1.119 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.9404, allocations: 109 kB / 1.119 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9404, allocations: 5.734 kB / 1.119 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.9404, allocations: 5.781 kB / 1.119 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.9406, allocations: 53.52 kB / 1.119 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9406, allocations: 192 / 1.119 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.9406, allocations: 4.688 kB / 1.119 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.9406, allocations: 0.8125 kB / 1.119 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.9408, allocations: 32.62 kB / 1.12 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.9411, allocations: 198.7 kB / 1.12 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.9412, allocations: 43.2 kB / 1.12 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.9413, allocations: 20.45 kB / 1.12 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.9414, allocations: 5.062 kB / 1.12 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.9414, allocations: 32.31 kB / 1.12 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9414, allocations: 0 / 1.12 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003773/0.9418, allocations: 84.08 kB / 1.12 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.9418, allocations: 56.77 kB / 1.12 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.9418, allocations: 108.3 kB / 1.12 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.9418, allocations: 27.41 kB / 1.12 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.9419, allocations: 85.75 kB / 1.12 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.9419, allocations: 5.875 kB / 1.12 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.9419, allocations: 15.88 kB / 1.12 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.942, allocations: 313.5 kB / 1.12 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.9421, allocations: 18.3 kB / 1.12 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.9421, allocations: 18.41 kB / 1.121 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.9423, allocations: 37.09 kB / 1.121 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9423, allocations: 1.031 kB / 1.121 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.9425, allocations: 66.44 kB / 1.121 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.9425, allocations: 6.359 kB / 1.121 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.9425, allocations: 0 / 1.121 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9425, allocations: 8.031 kB / 1.121 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.9426, allocations: 9.812 kB / 1.121 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9426, allocations: 0 / 1.121 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.9427, allocations: 11.52 kB / 1.121 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.9427, allocations: 0 / 1.121 GB, free: 0.5117 MB / 0.9981 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 4.468e-05/0.9427, allocations: 109.4 kB / 1.121 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.9427, allocations: 9.016 kB / 1.121 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.9428, allocations: 4.109 kB / 1.121 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.9428, allocations: 1.094 kB / 1.121 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9428, allocations: 0.7969 kB / 1.121 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9428, allocations: 5.156 kB / 1.121 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.69e-05/0.9429, allocations: 103.9 kB / 1.121 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.9429, allocations: 4 kB / 1.121 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.9429, allocations: 9.453 kB / 1.121 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9429, allocations: 3.938 kB / 1.121 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.9429, allocations: 1.75 kB / 1.121 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9429, allocations: 0 / 1.121 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9429, allocations: 1.094 kB / 1.121 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.9432, allocations: 167.5 kB / 1.121 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.9432, allocations: 5.859 kB / 1.121 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.9432, allocations: 1.156 kB / 1.121 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.9433, allocations: 6.156 kB / 1.121 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.9433, allocations: 2.562 kB / 1.121 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.9433, allocations: 5.031 kB / 1.121 GB, free: 104 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.9433, allocations: 88.05 kB / 1.121 GB, free: 20 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9433, allocations: 0 / 1.121 GB, free: 20 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002189/0.9435, allocations: 3.688 kB / 1.121 GB, free: 20 kB / 0.9981 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.0001643/0.9437, allocations: 98.67 kB / 1.121 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.9439, allocations: 38.72 kB / 1.121 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9439, allocations: 1.219 kB / 1.121 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.944, allocations: 23.55 kB / 1.121 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.9443, allocations: 3.641 kB / 1.121 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.9446, allocations: 104.9 kB / 1.121 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.9447, allocations: 60.06 kB / 1.121 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.9447, allocations: 1.875 kB / 1.121 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.9447, allocations: 9.906 kB / 1.121 GB, free: 15.72 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.9447, allocations: 0 / 1.121 GB, free: 15.72 MB / 1.014 GB Notification: Performance of Templates: time 0.002867/0.9476, allocations: 475.7 kB / 1.122 GB, free: 15.64 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.799597756937146]