Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007813/0.0007813, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.001977, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008118/0.0008118, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001897, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.149, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.931/1.931, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5038/2.434, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.709e-05, allocations: 6.312 kB / 0.7297 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00213/0.002157, allocations: 0.7202 MB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.003153, allocations: 0.8598 MB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.003187, allocations: 0 / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.003217, allocations: 3.938 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.003261, allocations: 2.031 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.585e-05/0.003337, allocations: 13.02 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.00342, allocations: 19.94 kB / 0.7313 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.00351, allocations: 12.86 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.003613, allocations: 17.88 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.003667, allocations: 12.86 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.003695, allocations: 0.8438 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.003706, allocations: 4.875 kB / 0.7313 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.003726, allocations: 2.562 kB / 0.7313 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.003746, allocations: 4.984 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.747e-05/0.003844, allocations: 17.34 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.003859, allocations: 0 / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.41e-07/0.00386, allocations: 1.375 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.003876, allocations: 0 / 0.7314 GB, free: 2.68 MB / 0.698 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.0004511/0.004327, allocations: 230 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.00437, allocations: 8.031 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.004409, allocations: 8.922 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.004518, allocations: 110.5 kB / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.004529, allocations: 384 / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.004542, allocations: 1.719 kB / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.004682, allocations: 51.83 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004691, allocations: 4.125 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.004698, allocations: 1.5 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004705, allocations: 384 / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.004733, allocations: 15.92 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.00498, allocations: 141.3 kB / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.005036, allocations: 18.58 kB / 0.7319 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.005056, allocations: 13.73 kB / 0.7319 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.005074, allocations: 0.7656 kB / 0.7319 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.005101, allocations: 35.69 kB / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.005102, allocations: 0 / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.005235, allocations: 38.36 kB / 0.732 GB, free: 1.922 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.005274, allocations: 55.34 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.005349, allocations: 112.2 kB / 0.7322 GB, free: 1.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.005361, allocations: 25.7 kB / 0.7322 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.005398, allocations: 80.91 kB / 0.7323 GB, free: 1.621 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.005418, allocations: 3.953 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.005451, allocations: 15.66 kB / 0.7323 GB, free: 1.598 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.00556, allocations: 318.8 kB / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.005575, allocations: 4 kB / 0.7326 GB, free: 1.273 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.005586, allocations: 3.938 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.005619, allocations: 10.45 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.005621, allocations: 0.6562 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.044e-05/0.005691, allocations: 41.69 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.005706, allocations: 4 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005711, allocations: 4.656 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.005727, allocations: 1.094 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.005815, allocations: 7.938 kB / 0.7327 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005821, allocations: 8.734 kB / 0.7327 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.005844, allocations: 9.406 kB / 0.7327 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.00585, allocations: 0 / 0.7327 GB, free: 1.18 MB / 0.698 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.634e-05/0.005916, allocations: 109.8 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.005941, allocations: 9.25 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.005972, allocations: 3.312 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.005974, allocations: 0 / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.005977, allocations: 4.703 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.005981, allocations: 1.438 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.0061, allocations: 69.89 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006101, allocations: 0 / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.006149, allocations: 12.48 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.006159, allocations: 4.516 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.006162, allocations: 0.5312 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.006166, allocations: 0.5469 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006167, allocations: 1.5 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.00617, allocations: 7.938 kB / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.006283, allocations: 127.5 kB / 0.733 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.006293, allocations: 1.094 kB / 0.733 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.006349, allocations: 8.812 kB / 0.733 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.00638, allocations: 0 / 0.733 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006383, allocations: 0.75 kB / 0.733 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.006407, allocations: 20.77 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.006407, allocations: 0.75 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001962/0.006603, allocations: 11.95 kB / 0.7331 GB, free: 0.75 MB / 0.698 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.0001055/0.006709, allocations: 75.36 kB / 0.7331 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.362e-05/0.006782, allocations: 13.84 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.006788, allocations: 0 / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.006815, allocations: 13.61 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.007036, allocations: 36.61 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.007483, allocations: 100.7 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.007525, allocations: 55.34 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.007545, allocations: 4.234 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.007604, allocations: 51.38 kB / 0.7334 GB, free: 356 kB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/0.007606, allocations: 3.938 kB / 0.7334 GB, free: 352 kB / 0.698 GB Notification: Performance of Templates: time 0.002588/0.01019, allocations: 483.3 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.038855358958244]