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.0008348/0.0008348, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001841, allocations: 449.7 kB / 10.37 MB, free: 328 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.000695/0.000695, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009413/0.001636, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09924/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.82/1.82, allocations: 378.2 MB / 0.6077 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5368/2.357, allocations: 123.3 MB / 0.7281 GB, free: 5.809 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 1.914e-06/1.914e-06, allocations: 0 / 0.7294 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.793e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001437/0.001465, allocations: 0.7193 MB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.002172, allocations: 0.8601 MB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.002196, allocations: 0 / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.002216, allocations: 0 / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.002247, allocations: 2.078 kB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.241e-05/0.002309, allocations: 17.67 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.002383, allocations: 20.05 kB / 0.731 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.002469, allocations: 8.969 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.002544, allocations: 12.98 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.002587, allocations: 16.84 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.002608, allocations: 1.375 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.002617, allocations: 5.406 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.002631, allocations: 0.7656 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.002651, allocations: 5.531 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.002725, allocations: 17.56 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.002742, allocations: 1.719 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002743, allocations: 0 / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.00276, allocations: 0 / 0.7311 GB, free: 2.789 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.0003851/0.003145, allocations: 224.7 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.003185, allocations: 9.031 kB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.003214, allocations: 8.938 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.003319, allocations: 114.8 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.003329, allocations: 0.9375 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.003338, allocations: 5.438 kB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.003447, allocations: 50.95 kB / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003455, allocations: 192 / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.003461, allocations: 1.094 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003468, allocations: 384 / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.003493, allocations: 8.469 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.003703, allocations: 149.2 kB / 0.7316 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.003755, allocations: 22.52 kB / 0.7316 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.00377, allocations: 10.5 kB / 0.7316 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.003791, allocations: 3.984 kB / 0.7316 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.003814, allocations: 35.98 kB / 0.7317 GB, free: 2.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003815, allocations: 0 / 0.7317 GB, free: 2.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.003929, allocations: 33.7 kB / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.003965, allocations: 56 kB / 0.7318 GB, free: 1.965 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.004026, allocations: 119.4 kB / 0.7319 GB, free: 1.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004035, allocations: 26.39 kB / 0.7319 GB, free: 1.805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.004063, allocations: 80.14 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.00408, allocations: 5.734 kB / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.004104, allocations: 13.72 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.004187, allocations: 318.8 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.004197, allocations: 4 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.004204, allocations: 1.609 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.004232, allocations: 8.859 kB / 0.7323 GB, free: 1.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.004235, allocations: 0.875 kB / 0.7323 GB, free: 1.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.006e-05/0.004275, allocations: 37.69 kB / 0.7323 GB, free: 1.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004287, allocations: 4.875 kB / 0.7323 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.004293, allocations: 7.984 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.004301, allocations: 4.688 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.004373, allocations: 8.484 kB / 0.7324 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.004376, allocations: 0.5625 kB / 0.7324 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.004395, allocations: 17.77 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.004399, allocations: 0 / 0.7324 GB, free: 1.281 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 5.057e-05/0.00445, allocations: 105.8 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.004462, allocations: 4.875 kB / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.004492, allocations: 4 kB / 0.7325 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.004493, allocations: 0 / 0.7325 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.004496, allocations: 4.75 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004499, allocations: 0 / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.802e-05/0.004577, allocations: 66.8 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004578, allocations: 0 / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.004598, allocations: 12 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-06/0.004603, allocations: 1.797 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004605, allocations: 3.984 kB / 0.7326 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.004609, allocations: 0.625 kB / 0.7326 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004609, allocations: 0 / 0.7326 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.004611, allocations: 8.562 kB / 0.7326 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.323e-05/0.004684, allocations: 132.7 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.004694, allocations: 3.984 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/0.004722, allocations: 4 kB / 0.7327 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.004748, allocations: 1.031 kB / 0.7327 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.00475, allocations: 0.9844 kB / 0.7327 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.254e-05/0.004762, allocations: 21.27 kB / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.004762, allocations: 0 / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001131/0.004875, allocations: 9.734 kB / 0.7328 GB, free: 0.8633 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 7.504e-05/0.00495, allocations: 72.42 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.005011, allocations: 18.08 kB / 0.7328 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.005016, allocations: 0 / 0.7328 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.005032, allocations: 12.8 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.005188, allocations: 8.734 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.005532, allocations: 102.8 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.005563, allocations: 55.36 kB / 0.733 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.00558, allocations: 1.375 kB / 0.733 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.005619, allocations: 51.38 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/0.00562, allocations: 0 / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of Templates: time 0.001981/0.007601, allocations: 477.2 kB / 0.7335 GB, free: 44 kB / 0.698 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.819756153970957]